From 5b40ab976250e42b0961019ba4a5c98f2ddbf18e Mon Sep 17 00:00:00 2001 From: miqlas Date: Sun, 5 Mar 2017 00:48:28 +0100 Subject: [PATCH] Xkbfile: new recipe (#1187) * libxkbfile: WIP * libxkbfile: new recipe * Whitespace cleanup --- x11-libs/libxkbfile/libxkbfile-1.0.9.recipe | 67 +++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 x11-libs/libxkbfile/libxkbfile-1.0.9.recipe diff --git a/x11-libs/libxkbfile/libxkbfile-1.0.9.recipe b/x11-libs/libxkbfile/libxkbfile-1.0.9.recipe new file mode 100644 index 000000000..4b46c560c --- /dev/null +++ b/x11-libs/libxkbfile/libxkbfile-1.0.9.recipe @@ -0,0 +1,67 @@ +SUMMARY="X Keyboard File manipulation library" +DESCRIPTION="libxkbfile provides an interface to read and manipulate \ +description files for XKB, the X11 keyboard configuration extension." +HOMEPAGE="http://xorg.freedesktop.org/releases/individual/lib/" +COPYRIGHT="1994-1996 Silicon Graphics Computer Systems, Inc." +LICENSE="MIT (no promotion)" +REVISION="1" +SOURCE_URI="http://xorg.freedesktop.org/releases/individual/lib/libxkbfile-$portVersion.tar.gz" +CHECKSUM_SHA256="95df50570f38e720fb79976f603761ae6eff761613eb56f258c3cb6bab4fd5e3" + +ARCHITECTURES="?x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + libxkbfile$secondaryArchSuffix = $portVersion + lib:libxkbfile$secondaryArchSuffix = 1.0.2 compat >= 1 + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libX11$secondaryArchSuffix + " + +PROVIDES_devel=" + libxkbfile${secondaryArchSuffix}_devel = $portVersion + devel:libxkbfile$secondaryArchSuffix = 1.0.2 compat >= 1 + " +REQUIRES_devel=" + libxkbfile$secondaryArchSuffix == $portVersion base + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:kbproto$secondaryArchSuffix + devel:libpthread_stubs$secondaryArchSuffix + devel:libX11$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/libxkbfile.la + + fixPkgconfig + prepareInstalledDevelLib libxkbfile + + # devel package + packageEntries devel \ + $developDir +}