scrnsaverproto: new recipe (#1183)

* scrnsaverproto: new recipe

* Cleanup
This commit is contained in:
miqlas
2017-03-05 02:04:45 +01:00
committed by waddlesplash
parent 7784ef7811
commit 8bc36f23bc

View File

@@ -0,0 +1,47 @@
SUMMARY="MIT Screen Saver Extension"
DESCRIPTION="This extension defines a protocol to control screensaver features \
and also to query screensaver info on specific windows."
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/proto/"
COPYRIGHT="1992 X Consortium"
LICENSE="MIT (no promotion)"
REVISION="1"
SOURCE_URI="http://xorg.freedesktop.org/releases/individual/proto/scrnsaverproto-$portVersion.tar.gz"
CHECKSUM_SHA256="d8dee19c52977f65af08fad6aa237bacee11bc5a33e1b9b064e8ac1fd99d6e79"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
scrnsaverproto$secondaryArchSuffix = $portVersion
devel:scrnsaverproto$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
}