28 lines
874 B
Text
Executable file
28 lines
874 B
Text
Executable file
# Description: Set of programs for listing PCI devices, inspecting their status and setting their configuration registers
|
|
# URL: https://mj.ucw.cz/sw/pciutils/
|
|
# Maintainer: Emmett1, emmett1 dot 2miligrams at gmail dot com
|
|
# Depends on:
|
|
|
|
name=pciutils
|
|
version=3.6.2
|
|
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
|
|
}
|