From: Florian Fainelli Date: Mon, 18 Jun 2007 08:56:19 +0000 (+0000) Subject: Fix pciutils clean target, download an updated pciids database on postinst X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4ea12540993014897053b3945cbc62eb96d92746;p=openwrt%2Fsvn-archive%2Fpackages.git Fix pciutils clean target, download an updated pciids database on postinst SVN-Revision: 7661 --- diff --git a/utils/pciutils/Makefile b/utils/pciutils/Makefile index 5eb4a35df..3afba049f 100644 --- a/utils/pciutils/Makefile +++ b/utils/pciutils/Makefile @@ -32,6 +32,11 @@ define Package/pciutils URL:=http://www.kernel.org/pub/software/utils/pciutils/ endef +define Package/pciutils/postinst +#!/bin/sh +update-pciids.sh +endef + define Build/Configure endef @@ -55,13 +60,13 @@ endef define Build/UninstallDev rm -rf \ - $(STAGING_DIR)/usr/include/pci + $(STAGING_DIR)/usr/include/pci \ $(STAGING_DIR)/usr/lib/libpci.a endef define Package/pciutils/install $(INSTALL_DIR) $(1)/usr/sbin - $(CP) $(PKG_BUILD_DIR)/{lspci,setpci} $(1)/usr/sbin/ + $(CP) $(PKG_BUILD_DIR)/{lspci,setpci,update-pciids.sh} $(1)/usr/sbin/ $(INSTALL_DIR) $(1)/usr/share $(CP) $(PKG_BUILD_DIR)/pci.ids $(1)/usr/share/ endef