mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-20 10:40:05 +02:00
81 lines
1.8 KiB
Plaintext
81 lines
1.8 KiB
Plaintext
SUMMARY="Various utilities dealing with the PCI bus"
|
|
DESCRIPTION="Various utilities dealing with the PCI bus"
|
|
HOMEPAGE="http://mj.ucw.cz/sw/pciutils/"
|
|
SRC_URI="git://git.kernel.org/pub/scm/utils/pciutils/pciutils.git"
|
|
#CHECKSUM_MD5=""
|
|
REVISION="1"
|
|
LICENSE="GNU GPL v2"
|
|
COPYRIGHT="1997-2012 Martin Mares"
|
|
|
|
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
|
|
|
|
PROVIDES="
|
|
pciutils${secondaryArchSuffix} = $portVersion
|
|
cmd:lspci${secondaryArchSuffix} = $portVersion
|
|
cmd:setpci${secondaryArchSuffix} = $portVersion
|
|
# cmd:update-pciids${secondaryArchSuffix} = $portVersion
|
|
# lib:libpci${secondaryArchSuffix}
|
|
# devel:pciutils${secondaryArchSuffix}
|
|
"
|
|
REQUIRES="
|
|
haiku${secondaryArchSuffix} >= $haikuVersion
|
|
lib:libz${secondaryArchSuffix}
|
|
"
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
devel:libz${secondaryArchSuffix}
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:make
|
|
cmd:gcc${secondaryArchSuffix}
|
|
"
|
|
|
|
PATCHES="pciutils-3.2.1_git-0001-C89.patch"
|
|
|
|
BUILD()
|
|
{
|
|
make \
|
|
ZLIB=yes \
|
|
PREFIX=$prefix \
|
|
SHAREDIR=$dataDir \
|
|
SBINDIR=$binDir \
|
|
MANDIR=$manDir \
|
|
INCDIR=$headersDir \
|
|
LIBDIR=$developLibDir
|
|
}
|
|
|
|
#TODO: SHARED=yes?
|
|
# XXX: remove update-pciids (packages are read-only anyway)
|
|
INSTALL()
|
|
{
|
|
make \
|
|
ZLIB=yes \
|
|
PREFIX=$prefix \
|
|
SHAREDIR=$dataDir \
|
|
SBINDIR=$binDir \
|
|
MANDIR=$manDir \
|
|
INCDIR=$includeDir \
|
|
LIBDIR=$developLibDir \
|
|
install install-lib
|
|
rm -f $binDir/update-pciids
|
|
rm -f $manDir/man*/update-pciids.*
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir \
|
|
$manDir/man*/pcilib.*
|
|
}
|
|
|
|
PROVIDES_devel="
|
|
pciutils${secondaryArchSuffix}_devel = $portVersion
|
|
devel:pciutils$secondaryArchSuffix = $portVersion
|
|
devel:libpci$secondaryArchSuffix
|
|
"
|
|
|
|
REQUIRES_devel="
|
|
pciutils$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
|