Files
haikuports/x11-libs/libxfixes/libxfixes-5.0.3.recipe
2017-10-26 15:35:17 +02:00

74 lines
1.8 KiB
Bash

SUMMARY="X Fixes extension library"
DESCRIPTION="X applications have often needed to work around various \
shortcomings in the core X window system. This extension is designed to \
provide the minimal server-side support necessary to eliminate problems \
caused by these workarounds."
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/lib/"
COPYRIGHT="2001, 2003 Keith Packard"
LICENSE="MIT (no promotion)"
REVISION="1"
SOURCE_URI="https://www.x.org/archive/individual/lib/libXfixes-$portVersion.tar.gz"
CHECKSUM_SHA256="9ab6c13590658501ce4bd965a8a5d32ba4d8b3bb39a5a5bc9901edffc5666570"
SOURCE_DIR="libXfixes-$portVersion"
ARCHITECTURES="?x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
libxfixes$secondaryArchSuffix = $portVersion
lib:libxfixes$secondaryArchSuffix = 3.1.0 compat >= 3
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libX11$secondaryArchSuffix
"
PROVIDES_devel="
libxfixes${secondaryArchSuffix}_devel = $portVersion
devel:libxfixes$secondaryArchSuffix = 3.1.0 compat >= 3
"
REQUIRES_devel="
libxfixes$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:fixesproto$secondaryArchSuffix
devel:libpthread_stubs$secondaryArchSuffix
devel:libX11$secondaryArchSuffix
devel:kbproto$secondaryArchSuffix
devel:xproto$secondaryArchSuffix
devel:xextproto$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/libXfixes.la
fixPkgconfig
prepareInstalledDevelLib libXfixes
# devel package
packageEntries devel \
$developDir
}