aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorPaul Wisehart <wise@lupulin.net>2010-05-13 00:29:35 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:29:35 +0200
commit341f566beb870299b1353d5fe547f1df169c2287 (patch)
tree8c5e476562f637480655d8e7dcc692b7860dd70f /libraries
parent9eee8c8ad3befe304d3d528e9703082d329c29bf (diff)
libraries/glibmm: Updated for version 2.18.2
Diffstat (limited to 'libraries')
-rw-r--r--libraries/glibmm/README2
-rw-r--r--libraries/glibmm/glibmm.SlackBuild10
-rw-r--r--libraries/glibmm/glibmm.info8
3 files changed, 14 insertions, 6 deletions
diff --git a/libraries/glibmm/README b/libraries/glibmm/README
index 8ded9ef77b08..d0df1fa78f7c 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 11d14948eb6d..be980b425a4e 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 c51487510f1c..d8c23efe5d01 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"