xextproto: Fix recipe

This commit is contained in:
François Revol
2013-12-11 14:02:40 +01:00
parent 64d6873caa
commit cb94f04d85

View File

@@ -1,21 +1,55 @@
SUMMARY="xextproto"
DESCRIPTION="xextproto"
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/proto/"
SRC_URI="http://xorg.freedesktop.org/releases/individual/proto/xextproto-7.1.1.tar.gz"
CHECKSUM_MD5="6c55283718dbeb826bcf899b9e89faba"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="x11-misc/util-macros >= 1.7.0"
COPYRIGHT="1989, 1998 The Open Group
1997 by Silicon Graphics Computer Systems, Inc.
1992 Network Computing Devices
1994, 1995 Hewlett-Packard Company
1996 Digital Equipment Corporation, Maynard, Massachusetts.
1988, 1989, 1990, 1994 Network Computing Devices, Inc.
1991,1993 by Digital Equipment Corporation, Maynard, Massachusetts, and Olivetti Research Limited, Cambridge, England.
1986, 1987, 1988 by Hewlett-Packard Corporation
2007-2008 Peter Hutterer"
LICENSE="MIT (no promotion)"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
xextproto$secondaryArchSuffix = $portVersion
devel:xextproto$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
devel:util_macros$secondaryArchSuffix >= 1.7.0
cmd:autoconf
cmd:libtool
cmd:aclocal
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
cd xextproto-7.1.1
libtoolize --force --copy --install
autoreconf -i
./configure --prefix=`finddir B_COMMON_DIRECTORY`
runConfigure ./configure
}
INSTALL()
{
cd xextproto-7.1.1
make install
fixPkgconfig
}