From cba5170435ef91396ed282e21d932fef46f96c0d Mon Sep 17 00:00:00 2001 From: "Edinaldo P. Silva" Date: Sun, 12 Mar 2017 09:20:39 +0000 Subject: perl/perl-glib: Updated for version 1.324 + new maintainer. Signed-off-by: David Spencer --- perl/perl-glib/perl-glib.SlackBuild | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'perl/perl-glib/perl-glib.SlackBuild') 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 # Copyright 2010, 2012 Binh Nguyen -# All rights reserved. +# Copyright 2014-2017 Glenn Becker +# Copyright 2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. # -# Updated for version 1.307 Glenn Becker +# 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 -- cgit v1.2.3