# Description: Library and utilities to access the PCI bus configuration registers
# URL:         http://mj.ucw.cz/pciutils.shtml
# Maintainer:  CRUX System Team, core-ports at crux dot nu
# Depends on:  kmod

name=pciutils
version=3.2.1
release=1
source=(ftp://ftp.iij.ad.jp/pub/linux/momonga/development/source/SOURCES/pciutils-3.2.1.tar.gz)

build() {
    cd $name-$version

    local CONF="ZLIB=no DESTDIR=$PKG PREFIX=/usr MANDIR=/usr/man"

    make -j1 $CONF OPT="$CFLAGS" SHARED=yes install install-lib
    make clean
    make -j1 $CONF OPT="$CFLAGS" SHARED=no  install install-lib
}
