2017-10-27 21:56:50 +02:00
|
|
|
|
# Tanım: PCI bus configuration space access library and tools
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html
|
2017-10-27 21:56:50 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler:
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:15:02 +02:00
|
|
|
|
isim=pciutils
|
|
|
|
|
surum=3.4.1
|
|
|
|
|
devir=1
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:15:02 +02:00
|
|
|
|
kaynak=(ftp://ftp.kernel.org/pub/software/utils/$isim/$isim-$surum.tar.xz)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-10-28 14:15:02 +02:00
|
|
|
|
cd $isim-$surum
|
2016-02-24 01:27:23 +01:00
|
|
|
|
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
|
2017-10-28 14:15:02 +02:00
|
|
|
|
chmod -v 755 $PKG/usr/lib/libpci.so.$surum
|
2016-02-24 01:27:23 +01:00
|
|
|
|
}
|