xproto: Fix recipe

This commit is contained in:
François Revol
2013-12-11 12:31:19 +01:00
parent ada79a00a7
commit a5a9b7bbc2

View File

@@ -1,3 +1,4 @@
SUMMARY="xproto"
DESCRIPTION="xproto"
HOMEPAGE="http://cgit.freedesktop.org/xorg/proto/xproto/"
COPYRIGHT="1991, Oracle and/or its affiliates. All rights reserved.
@@ -11,19 +12,44 @@ LICENSE="MIT (no promotion)"
SRC_URI="git://anongit.freedesktop.org/xorg/proto/xproto"
#CHECKSUM_MD5=""
REVISION="1"
STATUS_HAIKU="untested"
DEPEND=""
PATCHES="xproto-7.0.23_git.patch"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
xproto$secondaryArchSuffix = $portVersion
devel:xproto$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
"
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
"
BUILD()
{
cd xproto-7.0.23-git
./autogen.sh -V
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--datadir=`finddir B_COMMON_LIB_DIRECTORY`
runConfigure ./configure
make
}
INSTALL()
{
cd xproto-7.0.23-git
make install
fixPkgconfig
}