aboutsummaryrefslogtreecommitdiff
path: root/libraries/libgdiplus/libgdiplus.SlackBuild
diff options
context:
space:
mode:
authorAndre Barboza <bmg.andre@gmail.com>2017-05-26 08:05:00 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-10 07:01:50 +0700
commit79cd975f2b7c42c917732c52c5b350a1ed5dd24b (patch)
treebef8d07e3c2f6e3d333f23cc3839dcb50fa3b86e /libraries/libgdiplus/libgdiplus.SlackBuild
parent0d9df95317577533666c1feaa658e7e1a00db572 (diff)
libraries/libgdiplus: Updated for version 5.4, new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libgdiplus/libgdiplus.SlackBuild')
-rw-r--r--libraries/libgdiplus/libgdiplus.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/libraries/libgdiplus/libgdiplus.SlackBuild b/libraries/libgdiplus/libgdiplus.SlackBuild
index ab080072b8c97..1b1c3948e3088 100644
--- a/libraries/libgdiplus/libgdiplus.SlackBuild
+++ b/libraries/libgdiplus/libgdiplus.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for libgdiplus
# Copyright 2006 Martin Lefebvre <dadexter@gmail.com>
+# Copyright 2017 Andre Barboza <bmg.andre@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,16 +23,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Modified by the SlackBuilds.org project
-
PRGNAM=libgdiplus
-VERSION=${VERSION:-4.2}
+VERSION=${VERSION:-5.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -42,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -71,6 +70,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \