Files
haikuports/x11-libs/libxi/libxi-1.7.9.recipe
2017-11-04 00:20:43 +01:00

78 lines
1.9 KiB
Bash

SUMMARY="X Input extension library"
DESCRIPTION="libxi is an extension to the X11 protocol to support input \
devices other than the core X keyboard and pointer. It allows client programs \
to select input from these devices independently from each other and \
independently from the core devices."
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/lib/"
COPYRIGHT="1989, 1998 The Open Group"
LICENSE="MIT (no promotion)"
REVISION="1"
SOURCE_URI="https://www.x.org/archive/individual/lib/libXi-$portVersion.tar.gz"
CHECKSUM_SHA256="463cc5370191404bc0f8a450fdbf6d9159efbbf274e5e0f427a60191fed9cf4b"
SOURCE_DIR="libXi-$portVersion"
ARCHITECTURES="?x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
libxi$secondaryArchSuffix = $portVersion
lib:libxi$secondaryArchSuffix = 6.1.0 compat >= 6
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libX11$secondaryArchSuffix
lib:libxext$secondaryArchSuffix
"
PROVIDES_devel="
libxi${secondaryArchSuffix}_devel = $portVersion
devel:libxi$secondaryArchSuffix = 6.1.0 compat >= 6
"
REQUIRES_devel="
libxi$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:inputproto$secondaryArchSuffix
devel:fixesproto$secondaryArchSuffix
devel:kbproto$secondaryArchSuffix
devel:libpthread_stubs$secondaryArchSuffix
devel:libX11$secondaryArchSuffix
devel:libxext$secondaryArchSuffix
devel:libxfixes$secondaryArchSuffix
devel:xextproto$secondaryArchSuffix
devel:xproto$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/libXi.la
fixPkgconfig
prepareInstalledDevelLib libXi
# devel package
packageEntries devel \
$developDir
}