From ccb8b3f8866e022eff66ca72c512f560cafef0af Mon Sep 17 00:00:00 2001 From: miqlas Date: Sun, 5 Mar 2017 00:58:27 +0100 Subject: [PATCH] compositeproto: new recipe (#1181) --- .../compositeproto-0.4.2.recipe | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 x11-proto/compositeproto/compositeproto-0.4.2.recipe diff --git a/x11-proto/compositeproto/compositeproto-0.4.2.recipe b/x11-proto/compositeproto/compositeproto-0.4.2.recipe new file mode 100644 index 000000000..94c422778 --- /dev/null +++ b/x11-proto/compositeproto/compositeproto-0.4.2.recipe @@ -0,0 +1,48 @@ +SUMMARY="The X11 Composite Extension" +DESCRIPTION="This package contains header files and documentation for the \ +composite extension." +HOMEPAGE="http://xorg.freedesktop.org/releases/individual/proto/" +COPYRIGHT="2003, Keith Packard, HP + 2006, Oracle" +LICENSE="MIT (no promotion)" +REVISION="1" +SOURCE_URI="http://xorg.freedesktop.org/releases/individual/proto/compositeproto-$portVersion.tar.gz" +CHECKSUM_SHA256="22195b7e50036440b1c6b3b2d63eb03dfa6e71c8a1263ed1f07b0f31ae7dad50" + +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + compositeproto$secondaryArchSuffix = $portVersion + devel:compositeproto$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 +}