randrproto: new recipe (#1177)

This commit is contained in:
miqlas
2017-03-05 00:57:32 +01:00
committed by waddlesplash
parent da8f881c17
commit 1b67cc4569

View File

@@ -0,0 +1,51 @@
SUMMARY="X Resize and Rotate Extension (RandR)"
DESCRIPTION="This extension defines a protocol for clients to dynamically \
change X screens, so as to resize, rotate and reflect the root window of a \
screen."
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/proto/"
COPYRIGHT="2000 Compaq Computer Corporation
2002 Hewlett-Packard Company
2006 Intel Corporation
2008 Red Hat, Inc."
LICENSE="MIT (no promotion)"
REVISION="1"
SOURCE_URI="http://xorg.freedesktop.org/releases/individual/proto/randrproto-$portVersion.tar.gz"
CHECKSUM_SHA256="8f8a716d6daa6ba05df97d513960d35a39e040600bf04b313633f11679006fab"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
randrproto$secondaryArchSuffix = $portVersion
devel:randrproto$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
}