From 780eef20ff4732c04a2fd11477f05834e52817a2 Mon Sep 17 00:00:00 2001 From: Paul Wisehart Date: Wed, 12 May 2010 17:40:45 +0200 Subject: libraries/glibmm: Updated for version 2.16.4 --- libraries/glibmm/README | 2 +- libraries/glibmm/glibmm.SlackBuild | 22 +++++++++++++--------- libraries/glibmm/glibmm.info | 6 +++--- 3 files changed, 17 insertions(+), 13 deletions(-) diff --git a/libraries/glibmm/README b/libraries/glibmm/README index 006191d92aae..8ded9ef77b08 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 05ee1edd135e..11d14948eb6d 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 f0e9f645fa92..c51487510f1c 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" -- cgit v1.2.3