Files
haikuports/x11-libs/libxext/libxext-1.3.3.recipe
Jerome Duval fc0936b040 Bump revisions for x86_64 rebuild after time_t change.
* a few apps needed build fix for time_t.
* disable compatibility packages for x86_64.
2017-06-27 15:46:25 +02:00

75 lines
1.9 KiB
Bash

SUMMARY="X Extension library"
DESCRIPTION="libXext provides an X Window System client interface to several \
extensions to the X protocol. The supported protocol extensions are \
DOUBLE-BUFFER, DPMS, Extended-Visual-Information, LBX, MIT_SHM, \
MIT_SUNDRY-NONSTANDARD, Multi-Buffering, SECURITY, SHAPE, SYNC, TOG-CUP, \
XC-APPGROUP, XC-MISC, XTEST. libXext also provides a small set of utility \
functions to aid authors of client APIs for X protocol extensions."
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/lib/"
COPYRIGHT="1986, 1987, 1988, 1989, 1994, 1998 The Open Group"
LICENSE="MIT (no promotion)"
REVISION="2"
SOURCE_URI="https://www.x.org/archive/individual/lib/libXext-$portVersion.tar.gz"
CHECKSUM_SHA256="eb0b88050491fef4716da4b06a4d92b4fc9e76f880d6310b2157df604342cfe5"
SOURCE_DIR="libXext-$portVersion"
ARCHITECTURES="?x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
libxext$secondaryArchSuffix = $portVersion
lib:libxext$secondaryArchSuffix = 6.4.0 compat >= 6
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libX11$secondaryArchSuffix
"
PROVIDES_devel="
libxext${secondaryArchSuffix}_devel = $portVersion
devel:libxext$secondaryArchSuffix = 6.4.0 compat >= 6
"
REQUIRES_devel="
libxext$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:kbproto$secondaryArchSuffix
devel:libpthread_stubs$secondaryArchSuffix
devel:libX11$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/libXext.la
fixPkgconfig
prepareInstalledDevelLib libXext
# devel package
packageEntries devel \
$developDir
}