aboutsummaryrefslogtreecommitdiff
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
parent57d3fc6748a32f5adeefc81b5f61b76d1d4d9afd (diff)
libraries/glibmm: Updated for version 2.16.4
-rw-r--r--libraries/glibmm/README2
-rw-r--r--libraries/glibmm/glibmm.SlackBuild22
-rw-r--r--libraries/glibmm/glibmm.info6
3 files changed, 17 insertions, 13 deletions
diff --git a/libraries/glibmm/README b/libraries/glibmm/README
index 006191d92aaec..8ded9ef77b08e 100644
--- a/libraries/glibmm/README
+++ b/libraries/glibmm/README
@@ -3,4 +3,4 @@ APIs such as a std::string-like UTF8 string class, string utility
methods, such as a text encoding converter API, file access,
and threads.
-This requires libsigc++ (also available from slackbuilds.org)
+This requires libsigc++ (also available from SlackBuilds.org)
diff --git a/libraries/glibmm/glibmm.SlackBuild b/libraries/glibmm/glibmm.SlackBuild
index 05ee1edd135ed..11d14948eb6de 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
diff --git a/libraries/glibmm/glibmm.info b/libraries/glibmm/glibmm.info
index f0e9f645fa929..c51487510f1cc 100644
--- a/libraries/glibmm/glibmm.info
+++ b/libraries/glibmm/glibmm.info
@@ -1,8 +1,8 @@
PRGNAM="glibmm"
-VERSION="2.14.2"
+VERSION="2.16.4"
HOMEPAGE="http://www.gtkmm.org/"
-DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.14/glibmm-2.14.2.tar.bz2"
-MD5SUM="58b4fdc97738795a19b1f5ad37f186b4"
+DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.16/glibmm-2.16.4.tar.bz2"
+MD5SUM="fe2e91fa93759ffc812e80ca50ace233"
MAINTAINER="paul wisehart"
EMAIL="wise@lupulin.net"
APPROVED="rworkman"