xineramaproto: new recipe (#1185)

This commit is contained in:
miqlas
2017-03-05 02:05:24 +01:00
committed by waddlesplash
parent a8e3f57860
commit 1aad82335c

View File

@@ -0,0 +1,47 @@
SUMMARY="X Xinerama Extension"
DESCRIPTION="This is an X extension that allows multiple physical screens \
controlled by a single X server to appear as a single screen."
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/proto/"
COPYRIGHT="2003 The Open Group"
LICENSE="MIT (no promotion)"
REVISION="1"
SOURCE_URI="http://xorg.freedesktop.org/releases/individual/proto/xineramaproto-$portVersion.tar.gz"
CHECKSUM_SHA256="d99e121edf7b310008d7371ac5dbe3aa2810996d476b754dc78477cc26e5e7c1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
xineramaproto$secondaryArchSuffix = $portVersion
devel:xineramaproto$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
}