0
0
Fork 0
haikuports/x11-proto/damageproto/damageproto-1.2.1.recipe

50 lines
1.2 KiB
Bash

SUMMARY="The X Damage extension headers"
DESCRIPTION="This package provides the wire protocol for the DAMAGE extension. \
The DAMAGE extension allows applications to receive information about changes \
made to pixel contents of windows and pixmaps."
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/proto/"
COPYRIGHT="2003 Keith Packard, HP
2007 Eric Anholt, Intel"
LICENSE="MIT (no promotion)"
REVISION="3"
SOURCE_URI="http://xorg.freedesktop.org/releases/individual/proto/damageproto-$portVersion.tar.gz"
CHECKSUM_SHA256="f65ccbf1de9750a527ea6e85694085b179f2d06495cbdb742b3edb2149fef303"
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
damageproto$secondaryArchSuffix = $portVersion
devel:damageproto$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
}