mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
* SOURCE_URI: switch to https and to tar.bz2. * Sort BUILD_PREREQUIRES. * Drop unneeded call to libtoolize. * Remove empty $libDir on secondary arch builds.
54 lines
1.2 KiB
Bash
54 lines
1.2 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="3"
|
|
SOURCE_URI="https://www.x.org/releases/individual/proto/scrnsaverproto-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="8bb70a8da164930cceaeb4c74180291660533ad3cc45377b30a795d1b85bcd65"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
scrnsaverproto$secondaryArchSuffix = $portVersion
|
|
devel:scrnsaverproto$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
devel:util_macros$secondaryArchSuffix
|
|
cmd:aclocal
|
|
cmd:automake
|
|
cmd:autoreconf
|
|
cmd:make
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -i
|
|
runConfigure ./configure
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
fixPkgconfig
|
|
|
|
if [ -z "$secondaryArchSuffix" ]; then
|
|
install -t "$docDir" README
|
|
else
|
|
rm -rf "$docDir"
|
|
rmdir "$libDir"
|
|
fi
|
|
}
|