diff options
Diffstat (limited to 'libraries/libgdiplus')
-rw-r--r-- | libraries/libgdiplus/libgdiplus.SlackBuild | 16 | ||||
-rw-r--r-- | libraries/libgdiplus/libgdiplus.info | 6 |
2 files changed, 17 insertions, 5 deletions
diff --git a/libraries/libgdiplus/libgdiplus.SlackBuild b/libraries/libgdiplus/libgdiplus.SlackBuild index 942f876edbea5..ea0cf79e29e6c 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 9cef16f879649..869eebccf7064 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" |