# 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:  eudev

name=pciutils
version=3.4.0
release=1
source=(http://ftp2.osuosl.org/pub/blfs/conglomeration/pciutils/pciutils-3.4.0.tar.xz)

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
}
