Files
haikuports/x11-libs/libxinerama/libxinerama-1.1.3.recipe
miqlas c297f9140a Xext and Xinerama: new recipe (#1190)
* Xext and Xinerama: new recipe

* Fixed Copyright

* Whitespace cleanup

* Whitespace cleanup

* Cleanup
2017-03-04 18:50:54 -05:00

74 lines
1.8 KiB
Bash

SUMMARY="API for Xinerama extension to X11 Protocol"
DESCRIPTION="Xinerama is a simple library designed to interface the Xinerama \
Extension for retrieving information about physical output devices which may \
be combined into a single logical X screen."
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/lib/"
COPYRIGHT="2007 Oracle"
LICENSE="MIT (no promotion)"
REVISION="1"
SOURCE_URI="https://www.x.org/archive/individual/lib/libXinerama-$portVersion.tar.gz"
CHECKSUM_SHA256="0ba243222ae5aba4c6a3d7a394c32c8b69220a6872dbb00b7abae8753aca9a44"
SOURCE_DIR="libXinerama-$portVersion"
ARCHITECTURES="?x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
libxinerama$secondaryArchSuffix = $portVersion
lib:libxinerama$secondaryArchSuffix = 1.0.0 compat >= 1
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libxext$secondaryArchSuffix
lib:libX11$secondaryArchSuffix
"
PROVIDES_devel="
libxinerama${secondaryArchSuffix}_devel = $portVersion
devel:libxinerama$secondaryArchSuffix = 1.0.0 compat >= 1
"
REQUIRES_devel="
libxinerama$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:kbproto$secondaryArchSuffix
devel:libpthread_stubs$secondaryArchSuffix
devel:libX11$secondaryArchSuffix
devel:libxext$secondaryArchSuffix
devel:xextproto$secondaryArchSuffix
devel:xineramaproto$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/libXinerama.la
fixPkgconfig
prepareInstalledDevelLib libXinerama
# devel package
packageEntries devel \
$developDir
}