###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2016 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
include Config
-VER = 1.1.2
+VER = 1.2.1
THISAPP = opus-$(VER)
DL_FILE = $(THISAPP).tar.gz
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = opus
-PAK_VER = 1
+PAK_VER = 2
DEPS = ""
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 1f08a661bc72930187893a07f3741a91
+$(DL_FILE)_MD5 = 54bc867f13066407bc7b95be1fede090
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
-
+
download :$(patsubst %,$(DIR_DL)/%,$(objects))
-
+
md5 : $(subst %,%_MD5,$(objects))
-
-dist:.
+
+dist:
$(PAK)
-
+
###############################################################################
# Downloading, checking, md5sum
###############################################################################
-
+
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
-
+
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_MD5,$(objects)) :
@$(MD5)
-
+
###############################################################################
# Installation Details
###############################################################################
-
+
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+ @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && ./configure --prefix=/usr --libdir=/usr/lib
- cd $(DIR_APP) && make
+ cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)