ucmb: Fix compile on 2.6.36
[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:=20100826
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://www.draisberghof.de/usb_modeswitch/
16 PKG_MD5SUM:=85c16bb87a6f05c2d04b93a22fe87e91
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))