Files
haikuports/dev-libs/libpciaccess/libpciaccess-0.13.5.recipe
DeweyTaylor f65645ae28 libpciaccess: add draft recipe (#1332)
this is a dependency of libdrm.
2017-05-11 14:50:04 +02:00

66 lines
1.5 KiB
Bash

SUMMARY="Standardized interface for PCI access"
DESCRIPTION="Standardized interface for accessing PCI devices."
HOMEPAGE="http://xcb.freedesktop.org/"
COPYRIGHT="2006, 2007 IBM Corporation
2006 Eric Anholt
2011 Mark Kettenis
2012 Robert Millan
2007, 2008, 2009, 2011, 2012, 2013 Oracle and/or its affiliates.
2009, 2012 Red Hat, Inc."
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://xorg.freedesktop.org/releases/individual/lib/libpciaccess-$portVersion.tar.gz"
CHECKSUM_SHA256="fe26ec788732b4ef60b550f2d3fa51c605d27f646e18ecec878f061807a3526e"
PATCHES="libpciaccess-$portVersion.patchset"
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="?x86"
PROVIDES="
libpciaccess$secondaryArchSuffix = $portVersion
lib:libpciaccess$secondaryArchSuffix = 0.11.1 compat >= 0
"
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
libpciaccess${secondaryArchSuffix}_devel = $portVersion
devel:libpciaccess$secondaryArchSuffix = 0.11.1 compat >= 0
"
REQUIRES_devel="
libpciaccess$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:util_macros$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtool
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
rm $libDir/*.la
prepareInstalledDevelLib libpciaccess
fixPkgconfig
packageEntries devel \
$developDir
}