From 341f566beb870299b1353d5fe547f1df169c2287 Mon Sep 17 00:00:00 2001 From: Paul Wisehart Date: Thu, 13 May 2010 00:29:35 +0200 Subject: libraries/glibmm: Updated for version 2.18.2 --- libraries/glibmm/README | 2 +- libraries/glibmm/glibmm.SlackBuild | 10 ++++++++-- libraries/glibmm/glibmm.info | 8 +++++--- 3 files changed, 14 insertions(+), 6 deletions(-) (limited to 'libraries/glibmm') diff --git a/libraries/glibmm/README b/libraries/glibmm/README index 8ded9ef77b..d0df1fa78f 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++. diff --git a/libraries/glibmm/glibmm.SlackBuild b/libraries/glibmm/glibmm.SlackBuild index 11d14948eb..be980b425a 100644 --- a/libraries/glibmm/glibmm.SlackBuild +++ b/libraries/glibmm/glibmm.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PKGNAME=glibmm -VERSION=2.16.4 +VERSION=2.18.2 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -35,8 +35,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -54,6 +59,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --docdir=/usr/doc/$PRGNAM-$VERSION \ @@ -76,4 +82,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PKGNAME-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PKGNAME-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/glibmm/glibmm.info b/libraries/glibmm/glibmm.info index c51487510f..d8c23efe5d 100644 --- a/libraries/glibmm/glibmm.info +++ b/libraries/glibmm/glibmm.info @@ -1,8 +1,10 @@ PRGNAM="glibmm" -VERSION="2.16.4" +VERSION="2.18.2" HOMEPAGE="http://www.gtkmm.org/" -DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.16/glibmm-2.16.4.tar.bz2" -MD5SUM="fe2e91fa93759ffc812e80ca50ace233" +DOWNLOAD="http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.18/glibmm-2.18.2.tar.bz2" +DOWNLOAD_x86_64="" +MD5SUM="acb1fc7d1afebb7fe64f569eb6ba2aed" +MD5SUM_x86_64="" MAINTAINER="paul wisehart" EMAIL="wise@lupulin.net" APPROVED="rworkman" -- cgit v1.2.3