Xkbfile: new recipe (#1187)

* libxkbfile: WIP

* libxkbfile: new recipe

* Whitespace cleanup
This commit is contained in:
miqlas
2017-03-05 00:48:28 +01:00
committed by waddlesplash
parent 43695a210b
commit 5b40ab9762

View File

@@ -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
}