projects
/
openwrt
/
svn-archive
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fea9e94
)
Package update-usbids.sh so that the list can be updated
author
Florian Fainelli
<florian@openwrt.org>
Fri, 13 Jul 2007 14:20:40 +0000
(14:20 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Fri, 13 Jul 2007 14:20:40 +0000
(14:20 +0000)
SVN-Revision: 7969
utils/usbutils/Makefile
patch
|
blob
|
history
diff --git
a/utils/usbutils/Makefile
b/utils/usbutils/Makefile
index f247c2b0d5a605bbe870db0604267457ee910b5f..5da32eee1f36d7c7215370b02212c348f4efd096 100644
(file)
--- a/
utils/usbutils/Makefile
+++ b/
utils/usbutils/Makefile
@@
-30,6
+30,11
@@
define Package/usbutils
URL:=http://linux-usb.sourceforge.net/
endef
+define Package/usbutils/postinst
+#!/bin/sh
+$${IPKG_INSTROOT}/usr/sbin/update-usbids.sh
+endef
+
# uses GNU configure
define Build/Compile
@@
-41,6
+46,7
@@
endef
define Package/usbutils/install
$(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/lsusb $(1)/usr/sbin/
+ $(CP) $(PKG_BUILD_DIR)/update-usbids.sh $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/usr/share
$(CP) $(PKG_INSTALL_DIR)/usr/share/usb.ids $(1)/usr/share/
endef