mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
Although x86_gcc2 secondary arch is no longer officially supported, these packages do build perfectly on that arch. Thanks.
89 lines
2.3 KiB
Bash
89 lines
2.3 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="3"
|
|
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_gcc2 x86"
|
|
|
|
libVersion="6.4.0"
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
PROVIDES="
|
|
libxext$secondaryArchSuffix = $portVersion
|
|
lib:libxext$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libX11$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libxext${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libxext$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
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:aclocal
|
|
cmd:autoconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
defineDebugInfoPackage libxext$secondaryArchSuffix \
|
|
$libDir/libXext.so.$libVersion
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
autoreconf -i
|
|
runConfigure ./configure
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm -rf $libDir/libXext.la
|
|
|
|
if [ -n "$secondaryArchSuffix" ]; then
|
|
rm -rf $documentationDir
|
|
maybe_manDir_man3=
|
|
else
|
|
maybe_manDir_man3=$manDir/man3
|
|
fi
|
|
|
|
fixPkgconfig
|
|
prepareInstalledDevelLib libXext
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir \
|
|
$maybe_manDir_man3
|
|
}
|