PKG_NAME:=pciutils
PKG_VERSION:=3.14.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/software/utils/pciutils
TITLE:=Linux PCI Utilities
URL:=http://mj.ucw.cz/pciutils.shtml
DEPENDS:=+libkmod +libpci +pciids
+ ALTERNATIVES:=200:/usr/bin/lspci:/usr/libexec/lspci-pciutils
endef
define Package/pciutils/description
endef
define Package/pciutils/install
- $(INSTALL_DIR) $(1)/usr/sbin $(1)/usr/bin
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lspci $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/usr/sbin $(1)/usr/libexec
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lspci $(1)/usr/libexec/lspci-pciutils
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/setpci $(1)/usr/sbin/
endef