mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
LibXi: new recipe (#1193)
This commit is contained in:
77
x11-libs/libxi/libxi-1.7.6.recipe
Normal file
77
x11-libs/libxi/libxi-1.7.6.recipe
Normal file
@@ -0,0 +1,77 @@
|
||||
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="4e88fa7decd287e58140ea72238f8d54e4791de302938c83695fc0c9ac102b7e"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user