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

name=pciutils
version=3.15.0
release=1
source=(https://mj.ucw.cz/download/linux/pci/$name-$version.tar.gz)

build() {
    cd $name-$version

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

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