libxcb: Update recipe

Not working yet, as it doesn't find xcb_proto python files...
This commit is contained in:
François Revol
2013-12-15 20:14:09 +01:00
parent be7d9f35d7
commit 879e3c3d35

View File

@@ -1,25 +1,61 @@
SUMMARY="libxcb"
DESCRIPTION="libxcb"
HOMEPAGE="http://xcb.freedesktop.org/"
SRC_URI="http://xcb.freedesktop.org/dist/libxcb-1.6.tar.gz"
CHECKSUM_MD5="f824cc4cb4b43f5bbc84c0e17fbd80d0"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="pkgconfig >= 0.23
x11-misc/util-macros >= 1.7.0
dev-libs/libxslt >= 1.1.26
x11-proto/xcb-proto >= 1.6
x11-libs/libXau >= 1.0.5"
COPYRIGHT="2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett.
All Rights Reserved."
LICENSE="MIT (no promotion)"
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
PROVIDES="
libxcb$secondaryArchSuffix = $portVersion
lib:libxcb$secondaryArchSuffix = $portVersion
devel:libxcb$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libxslt >= 1.1.26
"
BUILD_REQUIRES="
devel:libxslt >= 1.1.26
devel:xcb_proto >= 1.6
devel:libpthread_stubs$secondaryArchSuffix >= 0.3
devel:libxau$secondaryArchSuffix >= 1.0.5
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:util_macros$secondaryArchSuffix
cmd:autoconf
cmd:libtool
cmd:aclocal
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
cmd:python
"
#DEPEND="pkgconfig >= 0.23
# x11-misc/util-macros >= 1.7.0
# dev-libs/libxslt >= 1.1.26
# x11-proto/xcb-proto >= 1.6
# x11-libs/libXau >= 1.0.5"
BUILD()
{
cd libxcb-1.6
libtoolize --force --copy --install
./autogen.sh
./configure --prefix=`finddir B_COMMON_DIRECTORY`
runConfigure ./configure
}
INSTALL()
{
cd libxcb-1.6
make install
}