resourceproto: new recipe (#1184)

This commit is contained in:
miqlas
2017-03-05 02:05:12 +01:00
committed by waddlesplash
parent 8bc36f23bc
commit a8e3f57860

View File

@@ -0,0 +1,47 @@
SUMMARY="X Resource Extension"
DESCRIPTION="This extension defines a protocol that allows a client to query \
the X server about its usage of various resources."
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/proto/"
COPYRIGHT="2002 XFree86 Inc"
LICENSE="MIT (no promotion)"
REVISION="1"
SOURCE_URI="http://xorg.freedesktop.org/releases/individual/proto/resourceproto-$portVersion.tar.gz"
CHECKSUM_SHA256="469029d14fdeeaa7eed1be585998ff4cb92cf664f872d1d69c04140815b78734"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
resourceproto$secondaryArchSuffix = $portVersion
devel:resourceproto$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
devel:util_macros$secondaryArchSuffix
cmd:autoconf
cmd:libtool
cmd:aclocal
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
libtoolize --force --copy --install
autoreconf -i
runConfigure ./configure
}
INSTALL()
{
make install
fixPkgconfig
}