eth0s/ports/core/pciutils/Pkgfile

29 lines
874 B
Text
Raw Normal View History

2019-10-10 17:43:15 +08:00
# Description: Set of programs for listing PCI devices, inspecting their status and setting their configuration registers
# URL: https://mj.ucw.cz/sw/pciutils/
2019-11-10 23:58:56 +08:00
# Maintainer: Emmett1, emmett1 dot 2miligrams at gmail dot com
2019-10-10 17:43:15 +08:00
# Depends on:
name=pciutils
2020-11-13 13:58:01 +08:00
version=3.7.0
2019-10-10 17:43:15 +08:00
release=1
source=(https://www.kernel.org/pub/software/utils/$name/$name-$version.tar.xz)
build() {
cd $name-$version
make OPT="${CFLAGS} -fPIC -DPIC" \
PREFIX=/usr \
SHAREDIR=/usr/share/hwdata \
MANDIR=/usr/share/man \
SHARED=yes
make PREFIX=/usr \
SHAREDIR=/usr/share/hwdata \
MANDIR=/usr/share/man \
SHARED=yes \
DESTDIR=$PKG \
install install-lib
chmod -v 755 $PKG/usr/lib/libpci.so
}