###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
+# Copyright (C) 2007-2012 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.0.5
+VER = 1.2.2
-THISAPP = usb_modeswitch-$(VER)
+THISAPP = usb-modeswitch-$(VER)
DL_FILE = $(THISAPP).tar.bz2
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 294848bbbcbd77dc9a4caf08327ca297
+$(DL_FILE)_MD5 = 4f3d3b9342b59b488089a8a81abda3ae
install : $(TARGET)
$(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)