From 547fd7c87e9e26fc0538582314bb81d4ee02f4ba Mon Sep 17 00:00:00 2001 From: miqlas Date: Sun, 5 Mar 2017 00:51:32 +0100 Subject: [PATCH] libxfixes: new recipe (#1192) * libxfixes: new recipe * libxfixes: fixed provides * Whitespace cleanup * Cleanup --- x11-libs/libxfixes/libxfixes-5.0.1.recipe | 73 +++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 x11-libs/libxfixes/libxfixes-5.0.1.recipe diff --git a/x11-libs/libxfixes/libxfixes-5.0.1.recipe b/x11-libs/libxfixes/libxfixes-5.0.1.recipe new file mode 100644 index 000000000..658d34630 --- /dev/null +++ b/x11-libs/libxfixes/libxfixes-5.0.1.recipe @@ -0,0 +1,73 @@ +SUMMARY="X Fixes extension library" +DESCRIPTION="X applications have often needed to work around various \ +shortcomings in the core X window system. This extension is designed to \ +provide the minimal server-side support necessary to eliminate problems \ +caused by these workarounds." +HOMEPAGE="http://xorg.freedesktop.org/releases/individual/lib/" +COPYRIGHT="2001, 2003 Keith Packard" +LICENSE="MIT (no promotion)" +REVISION="1" +SOURCE_URI="https://www.x.org/archive/individual/lib/libXfixes-$portVersion.tar.gz" +CHECKSUM_SHA256="81b692856c0e7ab2778a34a32aa6b3f455b9b58cf388f009cba872ed933ae9c0" +SOURCE_DIR="libXfixes-$portVersion" + +ARCHITECTURES="?x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + libxfixes$secondaryArchSuffix = $portVersion + lib:libxfixes$secondaryArchSuffix = 3.1.0 compat >= 3 + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libX11$secondaryArchSuffix + " + +PROVIDES_devel=" + libxfixes${secondaryArchSuffix}_devel = $portVersion + devel:libxfixes$secondaryArchSuffix = 3.1.0 compat >= 3 + " +REQUIRES_devel=" + libxfixes$secondaryArchSuffix == $portVersion base + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:fixesproto$secondaryArchSuffix + devel:libpthread_stubs$secondaryArchSuffix + devel:libX11$secondaryArchSuffix + devel:kbproto$secondaryArchSuffix + devel:xproto$secondaryArchSuffix + devel:xextproto$secondaryArchSuffix + " +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 + + rm -rf $libDir/libXfixes.la + + fixPkgconfig + prepareInstalledDevelLib libXfixes + + # devel package + packageEntries devel \ + $developDir +}