Package update-usbids.sh so that the list can be updated

git-svn-id: svn://svn.openwrt.org/openwrt/packages@7969 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2007-07-13 14:20:40 +00:00
parent fa20e8deb3
commit ebf04c8061

View File

@ -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