diff options
Diffstat (limited to 'perl/perl-glib/perl-glib.SlackBuild')
-rw-r--r-- | perl/perl-glib/perl-glib.SlackBuild | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/perl/perl-glib/perl-glib.SlackBuild b/perl/perl-glib/perl-glib.SlackBuild index 42a6418463..9d5c6e9434 100644 --- a/perl/perl-glib/perl-glib.SlackBuild +++ b/perl/perl-glib/perl-glib.SlackBuild @@ -1,12 +1,13 @@ #!/bin/sh - -# Slackware build script for perl-glib - +# +# Slackware build script for perl-glib. +# # (C) 2007 Michael Wagner <lapinours@web.de> # Copyright 2010, 2012 Binh Nguyen <binhvng@gmail.com> -# All rights reserved. +# Copyright 2014-2017 Glenn Becker <burningc@sdf.org> +# Copyright 2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. # -# Updated for version 1.307 Glenn Becker <burningc@sdf.org> +# All rights reserved. # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -26,15 +27,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=perl-glib -VERSION=${VERSION:-1.307} +VERSION=${VERSION:-1.324} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRCNAM=Glib - if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -45,8 +44,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" @@ -59,6 +58,8 @@ else LIBDIRSUFFIX="" fi +SRCNAM="Glib" + set -e rm -rf $PKG |