Files
haikuports/x11-libs/libxau/libxau-1.0.8.recipe
fbrosson c0e373cad8 libxau: create _devel pkg, switch HOMEPAGE & SOURCE_URI to https. (#692)
Also drop unneeded {lib,devel}:libXau and only keep lowercase libxau.
2016-07-13 21:23:57 +00:00

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
}