]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/usb_modeswitch
slang: revert parallelized build
[ipfire-2.x.git] / lfs / usb_modeswitch
index 8f17964ffc2c360ad01bcb60572ee341264c066c..afa71993645d97e72c2e9701927d5de649d7a623 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# 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        #
@@ -24,9 +24,9 @@
 
 include Config
 
-VER        = 1.0.5
+VER        = 2.4.0
 
-THISAPP    = usb_modeswitch-$(VER)
+THISAPP    = usb-modeswitch-$(VER)
 DL_FILE    = $(THISAPP).tar.bz2
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 294848bbbcbd77dc9a4caf08327ca297
+$(DL_FILE)_MD5 = 6e1640db47768bb9012f91b7593116ef
 
 install : $(TARGET)
 
@@ -70,10 +70,8 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/usb_modeswitch-huawei_e1762.patch
        cd $(DIR_APP) && make clean
        cd $(DIR_APP) && make all $(MAKETUNING) $(EXTRA_MAKE)
        cd $(DIR_APP) && make install
-       mv -f /etc/usb_modeswitch.conf /etc/usb_modeswitch.conf.example
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)