diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2017-03-12 09:20:39 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-18 06:58:13 +0700 |
commit | cba5170435ef91396ed282e21d932fef46f96c0d (patch) | |
tree | 31ff2b025940ac14cebe5fc41ac7e8b7a9664c75 /perl/perl-glib/perl-glib.SlackBuild | |
parent | b0ff186342bc5d23616a046a85459e645ec0e756 (diff) |
perl/perl-glib: Updated for version 1.324 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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 42a6418463d80..9d5c6e943461a 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 |