mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-02 13:08:53 +02:00
81 lines
1.8 KiB
Bash
81 lines
1.8 KiB
Bash
SUMMARY="X.Org X authorization library"
|
|
DESCRIPTION="LibXau manipulates .Xauthority files, used by xauth, X servers, \
|
|
and display managers to store shared secret data such as MIT-MAGIC-COOKIEs \
|
|
used for authenticating X clients attempting to connect to an X server.
|
|
LibXau is used by both Xlib and XCB."
|
|
HOMEPAGE="https://www.x.org/"
|
|
COPYRIGHT="1988, 1993, 1994, 1998 The Open Group"
|
|
LICENSE="MIT (no promotion)"
|
|
REVISION="3"
|
|
SOURCE_URI="https://www.x.org/releases/individual/lib/libXau-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="fdd477320aeb5cdd67272838722d6b7d544887dfe7de46e1e7cc0c27c2bea4f2"
|
|
SOURCE_DIR="libXau-$portVersion"
|
|
PATCHES="libxau-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
libxau$secondaryArchSuffix = $portVersion
|
|
lib:libxau$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libxau${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libxau$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES_devel="
|
|
libxau$secondaryArchSuffix == $portVersion base
|
|
xproto$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
xproto$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
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
autoreconf -i
|
|
runConfigure ./configure
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libXau
|
|
fixPkgconfig
|
|
|
|
if [ -n "$secondaryArchSuffix" ]; then
|
|
rm -rf $documentationDir
|
|
maybe_manDir_man3=
|
|
else
|
|
maybe_manDir_man3=$manDir/man3
|
|
fi
|
|
|
|
packageEntries devel \
|
|
$developDir \
|
|
$maybe_manDir_man3
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|