From b93a9d814751fa126a29ab83d5d843ab2c2f1571 Mon Sep 17 00:00:00 2001 From: miqlas Date: Sun, 5 Mar 2017 00:55:54 +0100 Subject: [PATCH] DamageProto: new recipe (#1174) --- .../damageproto/damageproto-1.2.1.recipe | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 x11-proto/damageproto/damageproto-1.2.1.recipe diff --git a/x11-proto/damageproto/damageproto-1.2.1.recipe b/x11-proto/damageproto/damageproto-1.2.1.recipe new file mode 100644 index 000000000..42b902179 --- /dev/null +++ b/x11-proto/damageproto/damageproto-1.2.1.recipe @@ -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 +}