libXmu, new recipe (#2016)

This commit is contained in:
Schrijvers Luc
2018-01-01 13:49:56 +01:00
committed by fbrosson
parent 330b201efa
commit c135ca6d70

View File

@@ -0,0 +1,88 @@
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="1"
SOURCE_URI="https://www.x.org/releases/individual/lib/libXmu-$portVersion.tar.bz2"
CHECKSUM_SHA256="709081c550cc3a866d7c760a3f97384a1fe16e27fc38fe8169b8db9f33aa7edd"
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: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
devel:kbproto$secondaryArchSuffix
devel:libICE$secondaryArchSuffix
devel:libpthread_stubs$secondaryArchSuffix
devel:libSM$secondaryArchSuffix
devel:libX11$secondaryArchSuffix
devel:libxext$secondaryArchSuffix
devel:libXt$secondaryArchSuffix
devel:xextproto$secondaryArchSuffix
devel:xproto$secondaryArchSuffix
devel:xtrans$secondaryArchSuffix
"
BUILD_PREREQUIRES="
devel:util_macros$secondaryArchSuffix
cmd:aclocal
cmd:autoconf
cmd:gcc$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
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
}