pciutils: move to usr/bin.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'pciutils'
|
# Template file for 'pciutils'
|
||||||
pkgname=pciutils
|
pkgname=pciutils
|
||||||
version=3.3.1
|
version=3.3.1
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="zlib-devel libkmod-devel"
|
makedepends="zlib-devel libkmod-devel"
|
||||||
depends="hwids"
|
depends="hwids"
|
||||||
@@ -28,7 +28,8 @@ do_build() {
|
|||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make SHARED=yes PREFIX=/usr SHAREDIR=/usr/share/hwdata STRIP= \
|
make SHARED=yes PREFIX=/usr SHAREDIR=/usr/share/hwdata STRIP= \
|
||||||
MANDIR=/usr/share/man DESTDIR=${DESTDIR} install install-lib
|
MANDIR=/usr/share/man SBINDIR=/usr/bin \
|
||||||
|
DESTDIR=${DESTDIR} install install-lib
|
||||||
vinstall ${XBPS_MASTERDIR}/tmp/libpci.a 644 usr/lib
|
vinstall ${XBPS_MASTERDIR}/tmp/libpci.a 644 usr/lib
|
||||||
|
|
||||||
# Set corrects perms to shlib.
|
# Set corrects perms to shlib.
|
||||||
@@ -36,7 +37,7 @@ do_install() {
|
|||||||
|
|
||||||
# Remove update-pciids and pci.ids, handled by hwids.
|
# Remove update-pciids and pci.ids, handled by hwids.
|
||||||
rm -rf ${DESTDIR}/usr/share/hwdata
|
rm -rf ${DESTDIR}/usr/share/hwdata
|
||||||
rm -f ${DESTDIR}/usr/sbin/update-pciids
|
rm -f ${DESTDIR}/usr/bin/update-pciids
|
||||||
rm -f ${DESTDIR}/usr/share/man/man8/update-pciids.8
|
rm -f ${DESTDIR}/usr/share/man/man8/update-pciids.8
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user