[packages] add usb-modeswitch-data, a collection of dongle specifc modeswitch configu...
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 4 Jul 2010 18:22:06 +0000 (18:22 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 4 Jul 2010 18:22:06 +0000 (18:22 +0000)
SVN-Revision: 22063

utils/usb-modeswitch-data/Makefile [new file with mode: 0644]

diff --git a/utils/usb-modeswitch-data/Makefile b/utils/usb-modeswitch-data/Makefile
new file mode 100644 (file)
index 0000000..f9316c7
--- /dev/null
@@ -0,0 +1,42 @@
+#
+# 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
+PKG_VERSION:=20100623
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.bz2
+PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/u/usb-modeswitch-data
+PKG_MD5SUM:=89ff3650f36303265213ee7ab86e2af3
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/usb-modeswitch-data
+  SECTION:=utils
+  CATEGORY:=Utilities
+  DEPENDS:=+usb-modeswitch
+  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))