summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Edinaldo P. Silva2017-03-12 10:15:31 +0100
committer Willy Sudiarto Raharjo2017-03-18 00:58:13 +0100
commitb0ff186342bc5d23616a046a85459e645ec0e756 (patch)
tree4c71384c7f617b439d5a9fb29315c61c6450ea49
parent287346028fe6fff374c4be88e1156ea0e079e7fe (diff)
downloadslackbuilds-b0ff186342bc5d23616a046a85459e645ec0e756.tar.gz
perl/perl-extutils-depends: Updated for version 0.405 + new maint.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--perl/perl-extutils-depends/README10
-rw-r--r--perl/perl-extutils-depends/perl-extutils-depends.SlackBuild33
-rw-r--r--perl/perl-extutils-depends/perl-extutils-depends.info10
-rw-r--r--perl/perl-extutils-depends/slack-desc10
4 files changed, 39 insertions, 24 deletions
diff --git a/perl/perl-extutils-depends/README b/perl/perl-extutils-depends/README
index eb5930e54a..cfc0e1495f 100644
--- a/perl/perl-extutils-depends/README
+++ b/perl/perl-extutils-depends/README
@@ -1,6 +1,6 @@
-ExtUtils::Depends (perl module)
+perl-extutils-depends (perl module)
-This module tries to make it easy to build Perl extensions that use
-functions and typemaps provided by other perl extensions. This means
-that a perl extension is treated like a shared library that provides
-also a C and an XS interface besides the perl one.
+This module tries to make it easy to build Perl extensions that use
+functions and typemaps provided by other perl extensions. This means
+that a perl extension is treated like a shared library that provides
+a C and an XS interface besides the perl one.
diff --git a/perl/perl-extutils-depends/perl-extutils-depends.SlackBuild b/perl/perl-extutils-depends/perl-extutils-depends.SlackBuild
index 69f21b6b4a..643c622cf7 100644
--- a/perl/perl-extutils-depends/perl-extutils-depends.SlackBuild
+++ b/perl/perl-extutils-depends/perl-extutils-depends.SlackBuild
@@ -1,12 +1,13 @@
#!/bin/sh
-
-# Slackware build script for perl-extutils-depends
-
+#
+# Slackware build script for perl-extutils-depends.
+#
# (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.
#
-# Update for version 0.404 by Glenn Becker <glenn.becker@gmail.com>
+# 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-extutils-depends
-VERSION=${VERSION:-0.404}
+VERSION=${VERSION:-0.405}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCNAM=ExtUtils-Depends
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -45,6 +44,22 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+SRCNAM="ExtUtils-Depends"
+
set -e
rm -rf $PKG
diff --git a/perl/perl-extutils-depends/perl-extutils-depends.info b/perl/perl-extutils-depends/perl-extutils-depends.info
index 6677fa9fc3..c7b9d7daa4 100644
--- a/perl/perl-extutils-depends/perl-extutils-depends.info
+++ b/perl/perl-extutils-depends/perl-extutils-depends.info
@@ -1,10 +1,10 @@
PRGNAM="perl-extutils-depends"
-VERSION="0.404"
+VERSION="0.405"
HOMEPAGE="https://metacpan.org/pod/ExtUtils::Depends"
-DOWNLOAD="http://www.cpan.org/authors/id/X/XA/XAOC/ExtUtils-Depends-0.404.tar.gz"
-MD5SUM="2b66dbb4bcfc2639c6b26309569471ad"
+DOWNLOAD="http://www.cpan.org/authors/id/X/XA/XAOC/ExtUtils-Depends-0.405.tar.gz"
+MD5SUM="caefbca2f173d0cea3f5ac26b6c08a2c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Glenn Becker"
-EMAIL="glenn.becker@gmail.com"
+MAINTAINER="Edinaldo P. Silva"
+EMAIL="edps.mundognu@gmail.com"
diff --git a/perl/perl-extutils-depends/slack-desc b/perl/perl-extutils-depends/slack-desc
index 62164d7b6f..8de97fc084 100644
--- a/perl/perl-extutils-depends/slack-desc
+++ b/perl/perl-extutils-depends/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
perl-extutils-depends: perl-extutils-depends (perl module)
perl-extutils-depends:
-perl-extutils-depends: This module tries to make it easy to build Perl extensions that use
-perl-extutils-depends: functions and typemaps provided by other perl extensions. This means
-perl-extutils-depends: that a perl extension is treated like a shared library that provides a
-perl-extutils-depends: C and an XS interface besides the perl one.
+perl-extutils-depends: This module tries to make it easy to build Perl extensions that use
+perl-extutils-depends: functions and typemaps provided by other perl extensions. This means
+perl-extutils-depends: that a perl extension is treated like a shared library that provides
+perl-extutils-depends: a C and an XS interface besides the perl one.
perl-extutils-depends:
-perl-extutils-depends: Homepage: http://search.cpan.org/dist/ExtUtils-Depends/
+perl-extutils-depends: Home page: http://search.cpan.org/dist/ExtUtils-Depends/
perl-extutils-depends:
perl-extutils-depends:
perl-extutils-depends: