mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Xkbfile: new recipe (#1187)
* libxkbfile: WIP * libxkbfile: new recipe * Whitespace cleanup
This commit is contained in:
67
x11-libs/libxkbfile/libxkbfile-1.0.9.recipe
Normal file
67
x11-libs/libxkbfile/libxkbfile-1.0.9.recipe
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user