2010-07-04 18:22:06 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2010 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-data
|
2010-09-04 17:30:59 +00:00
|
|
|
PKG_VERSION:=20100826
|
2010-07-04 18:22:06 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2010-09-04 17:30:59 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
|
|
PKG_SOURCE_URL:=http://www.draisberghof.de/usb_modeswitch/
|
|
|
|
PKG_MD5SUM:=85c16bb87a6f05c2d04b93a22fe87e91
|
2010-07-04 18:22:06 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/usb-modeswitch-data
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
2010-07-04 18:57:19 +00:00
|
|
|
DEPENDS:=usb-modeswitch
|
2010-07-04 18:22:06 +00:00
|
|
|
TITLE:=USB ModeSwitch - Dongle configuration database
|
|
|
|
URL:=http://packages.debian.org/de/sid/usb-modeswitch-data
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/usb-modeswitch-data/description
|
|
|
|
Configuration database for usb-modeswitch.
|
|
|
|
Contains definitions for many USB devices required to
|
|
|
|
autoswitch "flip flop" gear.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/usb-modeswitch-data/install
|
|
|
|
$(INSTALL_DIR) $(1)/etc/usb_modeswitch.d/
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/usb_modeswitch.d/* $(1)/etc/usb_modeswitch.d/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,usb-modeswitch-data))
|