]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/zaptel
Einige Builderrors aufgrund der entfernten Pakete gefunden.
[ipfire-2.x.git] / lfs / zaptel
index 93b10ebe405c88bc7621d5d19b57b9cf845465d3..42bf6160c306360ce30e439809421926321e3c49 100644 (file)
 
 include Config
 
-VER        = 1.2.10
+VER        = 1.4.0
 
 THISAPP    = zaptel-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
-ifeq "$(PASS)" "SMP"
+ifeq "$(SMP)" "1"
        TARGET     = $(DIR_INFO)/$(THISAPP)-smp
 else
        TARGET     = $(DIR_INFO)/$(THISAPP)
@@ -48,7 +48,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 25f9a78272104efdbd44261e33edb725
+$(DL_FILE)_MD5 = 27b43dfa3f1629f063a20779300f68c8
 
 install : $(TARGET)
 
@@ -82,13 +82,15 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
        # Build Zaptel
-       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/zaptel.patch
-ifeq "$(PASS)" "SMP"
-       cd $(DIR_APP) && make $(MAKETUNING) linux26 KVERS=$(KVER)-smp
-       cd $(DIR_APP) && make install KVERS=$(KVER)-smp
+#      cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/zaptel.patch
+ifeq "$(SMP)" "1"
+       cd $(DIR_APP) && ./configure --prefix=/usr
+       cd $(DIR_APP) && make linux26 KVERS=$(KVER)-ipfire-smp
+       cd $(DIR_APP) && make install KVERS=$(KVER)-ipfire-smp
 else
-       cd $(DIR_APP) && make $(MAKETUNING) linux26 KVERS=$(KVER)
-       cd $(DIR_APP) && make install KVERS=$(KVER)
+       cd $(DIR_APP) && ./configure --prefix=/usr
+       cd $(DIR_APP) && make linux26 KVERS=$(KVER)-ipfire
+       cd $(DIR_APP) && make install KVERS=$(KVER)-ipfire
 endif
        cd $(DIR_APP) && install -D -m 644 zaptel.h /usr/include/zaptel.h
        cd $(DIR_APP) && install -D -m 644 zconfig.h /usr/include/zconfig.h
@@ -100,7 +102,5 @@ endif
        cd $(DIR_APP) && install -D -m 644 arith.h /usr/include/arith.h
        cd $(DIR_APP) && install -D -m 644 mg2ec.h /usr/include/mg2ec.h
        cd $(DIR_APP) && install -D -m 644 mg2ec_const.h /usr/include/mg2ec_const.h
-#      find /lib/modules/$(KVER)/misc/ -name '*.o' -a -type f | xargs gzip -f9
-#      find /lib/modules/$(KVER)-smp/misc/ -name '*.o' -a -type f | xargs gzip -f9
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)