jow ce97ce602a [PATCH] Bump usb_modeswitch version number
Bump usb_modeswitch to version 0.9.7 (supports more devices and has 
some new nice features)
Signed-off-by: Roberto Riggio <roberto.riggio@create-net.org>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@15951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-20 21:40:27 +00:00

46 lines
1.1 KiB
Makefile

#
# Copyright (C) 2008-2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=usb_modeswitch
PKG_VERSION:=0.9.7
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://www.draisberghof.de/usb_modeswitch
PKG_CAT:=bzcat
PKG_MD5SUM:=1301f7b85b3cfe6647a5bc7e59845bae
include $(INCLUDE_DIR)/package.mk
define Package/usb-modeswitch
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+libusb
TITLE:=USB ModeSwitch
endef
define Package/usb-modeswitch/description
A mode switching tool for controlling
"flip flop" (multiple device) USB gear.
endef
define Build/Compile
"$(TARGET_CC)" $(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS) \
-lusb \
-o $(PKG_BUILD_DIR)/usb_modeswitch-OpenWrt \
$(PKG_BUILD_DIR)/usb_modeswitch.c
endef
define Package/usb-modeswitch/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/usb_modeswitch-OpenWrt $(1)/usr/bin/usb_modeswitch
endef
$(eval $(call BuildPackage,usb-modeswitch))