summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2010-05-18 08:47:27 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-18 08:47:27 -0500
commit19b2cf6cd9acf8c703d85c6c4efee869e69c0246 (patch)
tree16d822589709da39b2ea631268f914c602bc9852
parent3412f17a8330fa0e0fd7add11ade9763d341fde7 (diff)
downloadslackbuilds-19b2cf6cd9acf8c703d85c6c4efee869e69c0246.tar.gz
libraries/pangomm: Updated for version 2.26.2.
-rwxr-xr-x[-rw-r--r--]libraries/pangomm/pangomm.SlackBuild16
-rw-r--r--libraries/pangomm/pangomm.info6
-rw-r--r--libraries/pangomm/slack-desc2
3 files changed, 18 insertions, 6 deletions
diff --git a/libraries/pangomm/pangomm.SlackBuild b/libraries/pangomm/pangomm.SlackBuild
index 5f14489aed..4577ee59ba 100644..100755
--- a/libraries/pangomm/pangomm.SlackBuild
+++ b/libraries/pangomm/pangomm.SlackBuild
@@ -23,11 +23,20 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pangomm
-VERSION=${VERSION:-2.14.1}
-ARCH=${ARCH:-i486}
+VERSION=${VERSION:-2.26.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+# Automatically determine the architecture we're building on:
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i486 ;;
+ arm*) export ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) export ARCH=$( uname -m ) ;;
+ esac
+fi
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -42,6 +51,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
fi
set -e
diff --git a/libraries/pangomm/pangomm.info b/libraries/pangomm/pangomm.info
index 4b60f6da75..4008736ad3 100644
--- a/libraries/pangomm/pangomm.info
+++ b/libraries/pangomm/pangomm.info
@@ -1,8 +1,8 @@
PRGNAM="pangomm"
-VERSION="2.14.1"
+VERSION="2.26.2"
HOMEPAGE="http://www.gtkmm.org/"
-DOWNLOAD="http://ftp.acc.umu.se/pub/gnome/sources/pangomm/2.14/pangomm-2.14.1.tar.bz2"
-MD5SUM="c67228ea93dd977394d2872b61754b53"
+DOWNLOAD="http://ftp.acc.umu.se/pub/gnome/sources/pangomm/2.26/pangomm-2.26.2.tar.bz2"
+MD5SUM="b363b09faf884db8bf8d1458d719ff00"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Robby Workman"
diff --git a/libraries/pangomm/slack-desc b/libraries/pangomm/slack-desc
index 7dfaeff535..dc84a149fd 100644
--- a/libraries/pangomm/slack-desc
+++ b/libraries/pangomm/slack-desc
@@ -7,7 +7,7 @@
|-----handy-ruler-------------------------------------------------------|
pangomm: pangomm (C++ API for Pango)
-pangomm:
+pangomm:
pangomm: Pangomm is a C++ API for Pango.
pangomm:
pangomm: Homepage: http://gtkmm.org