DamageProto: new recipe (#1174)

This commit is contained in:
miqlas
2017-03-05 00:55:54 +01:00
committed by waddlesplash
parent cd049352b2
commit b93a9d8147

View File

@@ -0,0 +1,49 @@
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="1"
SOURCE_URI="http://xorg.freedesktop.org/releases/individual/proto/damageproto-$portVersion.tar.gz"
CHECKSUM_SHA256="f65ccbf1de9750a527ea6e85694085b179f2d06495cbdb742b3edb2149fef303"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
damageproto$secondaryArchSuffix = $portVersion
devel:damageproto$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
}