mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 16:50:06 +02:00
84 lines
2.0 KiB
Bash
84 lines
2.0 KiB
Bash
SUMMARY="X Test extension library"
|
|
DESCRIPTION="This extension is a minimal set of client and server extensions \
|
|
required to completely test the X11 server with no user intervention."
|
|
HOMEPAGE="http://xorg.freedesktop.org/releases/individual/lib/"
|
|
COPYRIGHT="1990, 1991 UniSoft Group Limited
|
|
1992, 1993, 1995, 1998 The Open Group"
|
|
LICENSE="MIT (no promotion)"
|
|
REVISION="1"
|
|
SOURCE_URI="https://www.x.org/archive/individual/lib/libXtst-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="a0c83acce02d4923018c744662cb28eb0dbbc33b4adc027726879ccf68fbc2c2"
|
|
SOURCE_DIR="libXtst-$portVersion"
|
|
|
|
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libxtst$secondaryArchSuffix = $portVersion
|
|
lib:libxtst$secondaryArchSuffix = 6.1.0 compat >= 6
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libxext$secondaryArchSuffix
|
|
lib:libX11$secondaryArchSuffix
|
|
lib:libxi$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libxtst${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libxtst$secondaryArchSuffix = 6.1.0 compat >= 6
|
|
"
|
|
REQUIRES_devel="
|
|
libxtst$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:fixesproto$secondaryArchSuffix
|
|
devel:inputproto$secondaryArchSuffix
|
|
devel:kbproto$secondaryArchSuffix
|
|
devel:libpthread_stubs$secondaryArchSuffix
|
|
devel:libX11$secondaryArchSuffix
|
|
devel:libxext$secondaryArchSuffix
|
|
devel:libxfixes$secondaryArchSuffix
|
|
devel:libxi$secondaryArchSuffix
|
|
devel:recordproto$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/libXtst.la
|
|
|
|
fixPkgconfig
|
|
prepareInstalledDevelLib libXtst
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|