diff options
author | Paul Wisehart <wise@lupulin.net> | 2010-05-12 17:40:45 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:40:45 +0200 |
commit | 780eef20ff4732c04a2fd11477f05834e52817a2 (patch) | |
tree | d725d2ea3073e2ac2cd29168b2a3b09afe6a4e3a | |
parent | 57d3fc6748a32f5adeefc81b5f61b76d1d4d9afd (diff) | |
download | slackbuilds-780eef20ff4732c04a2fd11477f05834e52817a2.tar.gz |
libraries/glibmm: Updated for version 2.16.4
-rw-r--r-- | libraries/glibmm/README | 2 | ||||
-rw-r--r-- | libraries/glibmm/glibmm.SlackBuild | 22 | ||||
-rw-r--r-- | libraries/glibmm/glibmm.info | 6 |
3 files changed, 17 insertions, 13 deletions
diff --git a/libraries/glibmm/README b/libraries/glibmm/README index 006191d92a..8ded9ef77b 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 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 diff --git a/libraries/glibmm/glibmm.info b/libraries/glibmm/glibmm.info index f0e9f645fa..c51487510f 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" |