CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libcap: updated to 2.25-2
[crossrootfs.git] / pciutils / Pkgfile
1 # Description: Library and utilities to access the PCI bus configuration registers
2 # URL: http://mj.ucw.cz/pciutils.shtml
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on: eudev
6
7 name=pciutils
8 version=3.5.2
9 release=1
10 source=(ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$name-$version.tar.gz)
11
12 build() {
13 cd $name-$version
14
15 local CONF="ZLIB=no DESTDIR=$PKG PREFIX=/usr"
16
17 make -j1 $CONF OPT="$CFLAGS" CC="$CC" AR="$AR" RANLIB="$RANLIB" STRIP="-s --strip-program $STRIP" SHARED=yes install install-lib
18 make clean
19 make -j1 $CONF OPT="$CFLAGS" CC="$CC" AR="$AR" RANLIB="$RANLIB" STRIP="-s --strip-program $STRIP" SHARED=no install install-lib
20 }