summaryrefslogtreecommitdiff
path: root/libraries/glibmm/glibmm.SlackBuild
diff options
context:
space:
mode:
authorPaul Wisehart <wise@lupulin.net>2010-05-12 17:40:45 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:40:45 +0200
commit780eef20ff4732c04a2fd11477f05834e52817a2 (patch)
treed725d2ea3073e2ac2cd29168b2a3b09afe6a4e3a /libraries/glibmm/glibmm.SlackBuild
parent57d3fc6748a32f5adeefc81b5f61b76d1d4d9afd (diff)
downloadslackbuilds-780eef20ff4732c04a2fd11477f05834e52817a2.tar.gz
libraries/glibmm: Updated for version 2.16.4
Diffstat (limited to 'libraries/glibmm/glibmm.SlackBuild')
-rw-r--r--libraries/glibmm/glibmm.SlackBuild22
1 files changed, 13 insertions, 9 deletions
diff --git a/libraries/glibmm/glibmm.SlackBuild b/libraries/glibmm/glibmm.SlackBuild
index 05ee1edd13..11d14948eb 100644
--- a/libraries/glibmm/glibmm.SlackBuild
+++ b/libraries/glibmm/glibmm.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Slackware build script for glibmm 2.12.4
+# Slackware build script for glibmm
# Copyright (C) 2006 paul wisehart wise@lupulin.net
# All rights reserved.
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PKGNAME=glibmm
-VERSION=2.14.2
+VERSION=2.16.4
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -39,12 +39,14 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP || exit 1
+cd $TMP
rm -rf $PKGNAME-$VERSION
-tar xvf $CWD/$PKGNAME-$VERSION.tar.bz2 || exit 1
-cd $PKGNAME-$VERSION || exit 1
+tar xvf $CWD/$PKGNAME-$VERSION.tar.bz2
+cd $PKGNAME-$VERSION
chown -R root:root .
chmod -R a-s,u+rw,go-w+r .
@@ -54,15 +56,17 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- || exit 1
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
+ --build=$ARCH-slackware-linux
-make || exit 1
-make install-strip DESTDIR=$PKG || exit 1
+make
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PKGNAME-$VERSION
mv $PKG/usr/share/doc/glibmm-2.4/* $PKG/usr/doc/$PKGNAME-$VERSION
rm -rf $PKG/usr/share/doc
-cp -a AUTHORS COPYING CHANGES ChangeLog INSTALL NEWS README \
+cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
$PKG/usr/doc/$PKGNAME-$VERSION
cat $CWD/$PKGNAME.SlackBuild > $PKG/usr/doc/$PKGNAME-$VERSION/$PKGNAME.SlackBuild
# Remove the API docs