Files
haikuports/x11-libs/libxmu/libxmu-1.1.2.recipe
2018-08-08 17:34:16 +02:00

105 lines
2.4 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="756edc7c383254eef8b4e1b733c3bf1dc061b523c9f9833ac7058378b8349d0b"
SOURCE_DIR="libXmu-$portVersion"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
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:libICE$secondaryArchSuffix
lib:libSM$secondaryArchSuffix
lib:libX11$secondaryArchSuffix
lib:libXau$secondaryArchSuffix
lib:libXcb$secondaryArchSuffix
lib:libXdmcp$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
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
docbook_xml_dtd
docbook_xsl_stylesheets
devel:kbproto
devel:libICE$secondaryArchSuffix
devel:libpthread_stubs
devel:libSM$secondaryArchSuffix
devel:libX11$secondaryArchSuffix
devel:libXau$secondaryArchSuffix
devel:libXcb$secondaryArchSuffix
devel:libXdmcp$secondaryArchSuffix
devel:libXext$secondaryArchSuffix
devel:libXt$secondaryArchSuffix
devel:util_macros
devel:xextproto
devel:xorg_sgml_doctools
devel:xproto
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()
{
autoreconf -vfi
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
rm -f $libDir/*.la
prepareInstalledDevelLibs libXmu libXmuu
fixPkgconfig
# devel package
packageEntries devel \
$developDir
}
TEST()
{
make check
}