0
0
Fork 0
haikuports/x11-proto/scrnsaverproto/scrnsaverproto-1.2.2.recipe

54 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="scrnsaverproto"
REVISION="4"
SOURCE_URI="https://www.x.org/releases/individual/proto/scrnsaverproto-$portVersion.tar.bz2"
CHECKSUM_SHA256="8bb70a8da164930cceaeb4c74180291660533ad3cc45377b30a795d1b85bcd65"
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
scrnsaverproto$secondaryArchSuffix = $portVersion
devel:scrnsaverproto$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:automake
cmd:autoreconf
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
devel:util_macros
"
BUILD()
{
autoreconf -i
runConfigure ./configure
}
INSTALL()
{
make install
fixPkgconfig
if [ -z "$secondaryArchSuffix" ]; then
install -t "$docDir" README
else
rm -rf "$docDir"
rmdir "$libDir"
fi
}