mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
libXmu, new recipe (#2016)
This commit is contained in:
88
x11-libs/libxmu/libxmu-1.1.1.recipe
Normal file
88
x11-libs/libxmu/libxmu-1.1.1.recipe
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user