mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
78 lines
1.9 KiB
Bash
78 lines
1.9 KiB
Bash
SUMMARY="X Session Management Library"
|
|
DESCRIPTION="The Session Management Library (SMlib) is a low-level \"C\" \
|
|
language interface to XSMP. It is expected that higher level toolkits, \
|
|
such as Xt, will hide many of the details of session management from \
|
|
clients. Higher level toolkits might also be developed for session managers \
|
|
to use, but no such effort is currently under way."
|
|
HOMEPAGE="https://www.x.org/releases/individual/lib/"
|
|
COPYRIGHT="1989, 1998 The Open Group
|
|
2002 Oracle and/or its affiliates"
|
|
LICENSE="MIT (no promotion)"
|
|
REVISION="1"
|
|
SOURCE_URI="https://www.x.org/releases/individual/lib/libSM-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="0baca8c9f5d934450a70896c4ad38d06475521255ca63b717a6510fdb6e287bd"
|
|
SOURCE_DIR="libSM-$portVersion"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion=6.0.1
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
PROVIDES="
|
|
libsm$secondaryArchSuffix = $portVersion
|
|
lib:libSM$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libICE$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libsm${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libSM$secondaryArchSuffix = $libVersion
|
|
"
|
|
REQUIRES_devel="
|
|
libsm$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libICE$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 libsm$secondaryArchSuffix \
|
|
$libDir/libSM.so.$libVersion
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -vfi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm -f $libDir/*.la
|
|
|
|
prepareInstalledDevelLib libSM
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|