0
0
Fork 0
haikuports/x11-proto/presentproto/presentproto-1.1.recipe

50 lines
1.2 KiB
Bash

SUMMARY="The Present Extension"
DESCRIPTION="The Present extension provides a way for applications to update \
their window contents from a pixmap in a well defined fashion, synchronizing \
with the display refresh and potentially using a more efficient mechanism \
than copying the contents of the source pixmap."
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/proto/"
COPYRIGHT="2013 Keith Packard"
LICENSE="MIT (no promotion)"
REVISION="3"
SOURCE_URI="http://xorg.freedesktop.org/releases/individual/proto/presentproto-$portVersion.tar.gz"
CHECKSUM_SHA256="114252e97afb4dfae8b31e6b0d5e24e4babda26b364e2be57abc2f3c30248b87"
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
presentproto$secondaryArchSuffix = $portVersion
devel:presentproto$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtool
cmd:make
cmd:pkg_config$secondaryArchSuffix
devel:util_macros
"
BUILD()
{
libtoolize --force --copy --install
autoreconf -i
runConfigure ./configure
}
INSTALL()
{
make install
fixPkgconfig
}