Commit | Line | Data |
---|---|---|
6dca1d21 JB |
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 | |
b751b192 | 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
588c60e9 | 5 | # Depends on: eudev |
6dca1d21 JB |
6 | |
7 | name=pciutils | |
cce24394 | 8 | version=3.5.2 |
6dca1d21 | 9 | release=1 |
a1e7e03e | 10 | source=(ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/$name-$version.tar.gz) |
6dca1d21 JB |
11 | |
12 | build() { | |
572f0ef4 | 13 | cd $name-$version |
cce24394 VM |
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 | |
6dca1d21 | 20 | } |