summaryrefslogtreecommitdiff
path: root/package/usbids
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-01-09 10:45:04 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-01-09 12:08:31 -0600
commit05c404bbb4f10726a0a032f3a6ebd081168cc7f9 (patch)
treeb629da84d7c153125a4284d06e96e5c998fa06a0 /package/usbids
parent86d7f14f76bdaed77d89416ab259959e194b73b4 (diff)
add usbids package
Diffstat (limited to 'package/usbids')
-rw-r--r--package/usbids/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/usbids/Makefile b/package/usbids/Makefile
new file mode 100644
index 000000000..98c1f1d7b
--- /dev/null
+++ b/package/usbids/Makefile
@@ -0,0 +1,28 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= usbids
+PKG_VERSION:= 1.0
+PKG_RELEASE:= 1
+PKG_DESCR:= usb id database
+PKG_SECTION:= sys/hw
+PKG_SITES:= http://www.linux-usb.org/
+PKG_NOCHECKSUM:= 1
+
+DISTFILES:= usb.ids.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,USBIDS,usbids,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+CONFIG_STYLE:= manual
+BUILD_STYLE:= manual
+INSTALL_STYLE:= manual
+
+usbids-install:
+ $(INSTALL_DIR) $(IDIR_USBIDS)/usr/share
+ $(CP) $(WRKSRC)/usb.ids.gz $(IDIR_USBIDS)/usr/share
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk