summaryrefslogtreecommitdiff
path: root/package/usb_modeswitch/usb_modeswitch.mk
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2010-04-22 15:58:16 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2010-05-04 21:47:17 +0200
commit63b866640957c0e42467914effa7cdc2451e7900 (patch)
treee4c2208bbba5393d1f216071dac02c0658c955ea /package/usb_modeswitch/usb_modeswitch.mk
parent23ff3c278602bc4531bf8d5de179af188837907e (diff)
usb_modeswitch: Bump to version 1.1.2
And correct kconfig dependency. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/usb_modeswitch/usb_modeswitch.mk')
-rw-r--r--package/usb_modeswitch/usb_modeswitch.mk17
1 files changed, 10 insertions, 7 deletions
diff --git a/package/usb_modeswitch/usb_modeswitch.mk b/package/usb_modeswitch/usb_modeswitch.mk
index d84ccc2bf..620c5d05a 100644
--- a/package/usb_modeswitch/usb_modeswitch.mk
+++ b/package/usb_modeswitch/usb_modeswitch.mk
@@ -4,23 +4,26 @@
#
#############################################################
-USB_MODESWITCH_VERSION = 1.0.7
-USB_MODESWITCH_SOURCE = usb_modeswitch-$(USB_MODESWITCH_VERSION).tar.bz2
+USB_MODESWITCH_VERSION = 1.1.2
+USB_MODESWITCH_SOURCE = usb-modeswitch-$(USB_MODESWITCH_VERSION).tar.bz2
USB_MODESWITCH_SITE = http://www.draisberghof.de/usb_modeswitch
USB_MODESWITCH_DEPENDENCIES = libusb-compat
define USB_MODESWITCH_BUILD_CMDS
- rm $(@D)/usb_modeswitch
- $(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
+ $(TARGET_CONFIGURE_OPTS) $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
endef
define USB_MODESWITCH_INSTALL_TARGET_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
+ $(INSTALL) -D $(@D)/usb_modeswitch.setup -m 0644 \
+ $(TARGET_DIR)/etc/usb_modeswitch.setup
endef
define USB_MODESWITCH_CLEAN_CMDS
- rm -f $(TARGET_DIR)/usr/sbin/usb_modeswitch
- rm -f $(TARGET_DIR)/etc/usb_modeswitch.conf
+ rm -f $(TARGET_DIR)/usr/sbin/usb_modeswitch
+ rm -f $(TARGET_DIR)/etc/usb_modeswitch.setup
+ rm -f $(TARGET_DIR)/usr/share/man/man1/usb_modeswitch.1
endef
$(eval $(call GENTARGETS,package,usb_modeswitch))
+