97 lines
2.3 KiB
Bash
97 lines
2.3 KiB
Bash
SUMMARY="X Miscellaneous Utilities library"
|
|
DESCRIPTION="This library contains miscellaneous utilities and is not part \
|
|
of the Xlib standard. It contains routines which only use public \
|
|
interfaces so that it may be layered on top of any proprietary \
|
|
implementation of Xlib or Xt."
|
|
HOMEPAGE="https://www.x.org/releases/individual/lib/"
|
|
COPYRIGHT="1987, 1988 by Digital Equipment Corporation
|
|
1998 by The XFree86 Project, Inc.
|
|
1989, 1998 The Open Group"
|
|
LICENSE="MIT (no promotion)"
|
|
REVISION="2"
|
|
SOURCE_URI="https://www.x.org/releases/individual/lib/libXmu-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="9c343225e7c3dc0904f2122b562278da5fed639b1b5e880d25111561bac5b731"
|
|
SOURCE_DIR="libXmu-$portVersion"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libxmu$secondaryArchSuffix = $portVersion
|
|
lib:libXmu$secondaryArchSuffix = 6.2.0 compat >= 6
|
|
lib:libXmuu$secondaryArchSuffix = 1.0.0 compat >= 1
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libX11$secondaryArchSuffix
|
|
lib:libXext$secondaryArchSuffix
|
|
lib:libXt$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libxmu${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libXmu$secondaryArchSuffix = 6.2.0
|
|
devel:libXmuu$secondaryArchSuffix = 1.0.0
|
|
"
|
|
REQUIRES_devel="
|
|
libxmu$secondaryArchSuffix == $portVersion base
|
|
devel:libX11$secondaryArchSuffix
|
|
devel:libXext$secondaryArchSuffix
|
|
devel:libXt$secondaryArchSuffix
|
|
devel:xproto
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
docbook_xml_dtd
|
|
docbook_xsl_stylesheets
|
|
devel:libX11$secondaryArchSuffix
|
|
devel:libXext$secondaryArchSuffix
|
|
devel:libXt$secondaryArchSuffix
|
|
devel:util_macros
|
|
devel:xorg_sgml_doctools
|
|
devel:xtrans
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:xmlto
|
|
cmd:xsltproc
|
|
"
|
|
|
|
defineDebugInfoPackage libxmu$secondaryArchSuffix \
|
|
$libDir/libXmu.so.6.2.0 \
|
|
$libDir/libXmuu.so.1.0.0
|
|
|
|
BUILD()
|
|
{
|
|
export LDFLAGS="-lnetwork"
|
|
autoreconf -vfi
|
|
runConfigure --omit-dirs docDir ./configure --docdir=$developDocDir
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
if [ -z "$secondaryArchSuffix" ]; then
|
|
install -m 0644 -t "$developDocDir" README.md
|
|
else
|
|
rm -rf "$developDir/documentation"
|
|
fi
|
|
|
|
rm -f $libDir/*.la
|
|
|
|
prepareInstalledDevelLibs libXmu libXmuu
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|