libSM, bump revision, cleanup, fix REQUIRES_devel

This commit is contained in:
begasus
2018-08-15 09:25:53 +02:00
committed by waddlesplash
parent 78c2d9bc9f
commit 04125f88f0

View File

@@ -8,7 +8,7 @@ HOMEPAGE="https://www.x.org/releases/individual/lib/"
COPYRIGHT="1989, 1998 The Open Group COPYRIGHT="1989, 1998 The Open Group
2002 Oracle and/or its affiliates" 2002 Oracle and/or its affiliates"
LICENSE="MIT (no promotion)" LICENSE="MIT (no promotion)"
REVISION="1" REVISION="2"
SOURCE_URI="https://www.x.org/releases/individual/lib/libSM-$portVersion.tar.bz2" SOURCE_URI="https://www.x.org/releases/individual/lib/libSM-$portVersion.tar.bz2"
CHECKSUM_SHA256="0baca8c9f5d934450a70896c4ad38d06475521255ca63b717a6510fdb6e287bd" CHECKSUM_SHA256="0baca8c9f5d934450a70896c4ad38d06475521255ca63b717a6510fdb6e287bd"
SOURCE_DIR="libSM-$portVersion" SOURCE_DIR="libSM-$portVersion"
@@ -34,6 +34,8 @@ PROVIDES_devel="
" "
REQUIRES_devel=" REQUIRES_devel="
libsm$secondaryArchSuffix == $portVersion base libsm$secondaryArchSuffix == $portVersion base
devel:libICE$secondaryArchSuffix
devel:xproto
" "
BUILD_REQUIRES=" BUILD_REQUIRES="
@@ -43,7 +45,6 @@ BUILD_REQUIRES="
devel:libICE$secondaryArchSuffix devel:libICE$secondaryArchSuffix
devel:util_macros devel:util_macros
devel:xorg_sgml_doctools devel:xorg_sgml_doctools
devel:xproto
devel:xtrans devel:xtrans
" "
BUILD_PREREQUIRES=" BUILD_PREREQUIRES="
@@ -62,8 +63,11 @@ defineDebugInfoPackage libsm$secondaryArchSuffix \
BUILD() BUILD()
{ {
export LDFLAGS="-lnetwork"
autoreconf -vfi autoreconf -vfi
runConfigure ./configure runConfigure --omit-dirs docDir ./configure \
--docdir=$developDocDir \
--enable-tcp-transport
make $jobArgs make $jobArgs
} }
@@ -71,6 +75,12 @@ INSTALL()
{ {
make install make install
if [ -z "$secondaryArchSuffix" ]; then
install -m 0644 -t "$developDocDir" README
else
rm -rf "$developDir/documentation"
fi
rm -f $libDir/*.la rm -f $libDir/*.la
prepareInstalledDevelLib libSM prepareInstalledDevelLib libSM