30 lines
644 B
Plaintext
30 lines
644 B
Plaintext
# Tanım: PCI bus configuration space access library and tools
|
||
# URL: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html
|
||
# Paketçi: milisarge
|
||
# Gerekler:
|
||
|
||
name=pciutils
|
||
version=3.4.1
|
||
release=1
|
||
|
||
source=(ftp://ftp.kernel.org/pub/software/utils/$name/$name-$version.tar.xz)
|
||
|
||
build() {
|
||
cd $name-$version
|
||
make OPT="$CFLAGS -fPIC -DPIC" \
|
||
ZLIB=no \
|
||
PREFIX=/usr \
|
||
SHAREDIR=/usr/share/misc \
|
||
MANDIR=/usr/share/man \
|
||
SHARED=yes all
|
||
|
||
mkdir -p $PKG/usr/share/man
|
||
mkdir -p $PKG/usr/lib
|
||
make PREFIX=$PKG/usr \
|
||
SHAREDIR=$PKG/usr/share/misc \
|
||
MANDIR=$PKG/usr/share/man \
|
||
SHARED=yes ZLIB=no \
|
||
install install-lib
|
||
chmod -v 755 $PKG/usr/lib/libpci.so.$version
|
||
}
|