]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/usb_modeswitch
Updated usb_modeswitch (1.1.3).
[ipfire-2.x.git] / lfs / usb_modeswitch
index 5710b6b2aa32233ddb6ecb1ed5ad6d2b4629281a..c64a29a93e5cdc7ba951417126f7846f04bce1d5 100644 (file)
@@ -24,9 +24,9 @@
 
 include Config
 
-VER        = 1.0.5
+VER        = 1.1.3
 
-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 = 571e6b81873231246693d18a9912f55d
 
 install : $(TARGET)
 
@@ -70,10 +70,9 @@ $(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.default 
+       cp -f $(DIR_APP)/device_reference.txt /etc/usb_modeswitch.setup.example
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)