From: florian 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://207.154.207.93/?a=commitdiff_plain;h=aba124b11c97c2c6f8a30f2a28770328c5645c3c;p=packages.git Fix pciutils clean target, download an updated pciids database on postinst git-svn-id: svn://svn.openwrt.org/openwrt/packages@7661 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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