Files
haikuports/x11-libs/libxkbfile/libxkbfile-1.0.9.recipe
Jerome Duval fc0936b040 Bump revisions for x86_64 rebuild after time_t change.
* a few apps needed build fix for time_t.
* disable compatibility packages for x86_64.
2017-06-27 15:46:25 +02:00

68 lines
1.6 KiB
Bash

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="2"
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
}