Files
haikuports/x11-proto/scrnsaverproto/scrnsaverproto-1.2.2.recipe
miqlas 8bc36f23bc scrnsaverproto: new recipe (#1183)
* scrnsaverproto: new recipe

* Cleanup
2017-03-04 20:04:45 -05:00

48 lines
1.1 KiB
Bash

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
}