aboutsummaryrefslogtreecommitdiff
path: root/libraries/libgdiplus
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2010-05-21 08:48:16 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-23 23:21:39 -0500
commit52b535c830b0581b3a2980a6f07b21992125f44d (patch)
treed84fcf92ab3bdd12a0d36916472debd80c6e1263 /libraries/libgdiplus
parent883a33afd729d1d08d88a8b626a57f948d793def (diff)
libraries/libgdiplus: Updated for version 2.6.4.
Diffstat (limited to 'libraries/libgdiplus')
-rw-r--r--libraries/libgdiplus/libgdiplus.SlackBuild16
-rw-r--r--libraries/libgdiplus/libgdiplus.info6
2 files changed, 17 insertions, 5 deletions
diff --git a/libraries/libgdiplus/libgdiplus.SlackBuild b/libraries/libgdiplus/libgdiplus.SlackBuild
index 942f876edbea..ea0cf79e29e6 100644
--- a/libraries/libgdiplus/libgdiplus.SlackBuild
+++ b/libraries/libgdiplus/libgdiplus.SlackBuild
@@ -25,11 +25,20 @@
# Modified by the SlackBuilds.org project
PRGNAM=libgdiplus
-VERSION=2.4.2
-ARCH=${ARCH:-i486}
+VERSION=2.6.4
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
@@ -44,6 +53,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/libgdiplus/libgdiplus.info b/libraries/libgdiplus/libgdiplus.info
index 9cef16f87964..869eebccf706 100644
--- a/libraries/libgdiplus/libgdiplus.info
+++ b/libraries/libgdiplus/libgdiplus.info
@@ -1,8 +1,8 @@
PRGNAM="libgdiplus"
-VERSION="2.4.2"
+VERSION="2.6.4"
HOMEPAGE="http://www.go-mono.org"
-DOWNLOAD="http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.4.2.tar.bz2"
-MD5SUM="703210950bce2ed0a9824f897f774925"
+DOWNLOAD="http://ftp.novell.com/pub/mono/sources/libgdiplus/libgdiplus-2.6.4.tar.bz2"
+MD5SUM="d860cfca4c13fbbaa054077eda3ab97b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Sebastián Salazar Molina"