dc71f429892f99c5bbb87c881ce6a0a0f3392c3b
[openwrt/svn-archive/archive.git] / utils / usb-modeswitch-data / Makefile
1 #
2 # Copyright (C) 2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=usb-modeswitch-data
11 PKG_VERSION:=20100623
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.bz2
15 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/u/usb-modeswitch-data
16 PKG_MD5SUM:=89ff3650f36303265213ee7ab86e2af3
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/usb-modeswitch-data
21 SECTION:=utils
22 CATEGORY:=Utilities
23 DEPENDS:=usb-modeswitch
24 TITLE:=USB ModeSwitch - Dongle configuration database
25 URL:=http://packages.debian.org/de/sid/usb-modeswitch-data
26 endef
27
28 define Package/usb-modeswitch-data/description
29 Configuration database for usb-modeswitch.
30 Contains definitions for many USB devices required to
31 autoswitch "flip flop" gear.
32 endef
33
34 define Build/Compile
35 endef
36
37 define Package/usb-modeswitch-data/install
38 $(INSTALL_DIR) $(1)/etc/usb_modeswitch.d/
39 $(CP) $(PKG_BUILD_DIR)/usb_modeswitch.d/* $(1)/etc/usb_modeswitch.d/
40 endef
41
42 $(eval $(call BuildPackage,usb-modeswitch-data))