milis/talimatname/temel/pciutils/talimat

30 lines
634 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: PCI bus configuration space access library and tools
# URL: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html
# Paketçi: milisarge
# Gerekler:
isim=pciutils
surum=3.4.1
devir=1
kaynak=(ftp://ftp.kernel.org/pub/software/utils/$isim/$isim-$surum.tar.xz)
derle() {
cd $isim-$surum
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.$surum
}