aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 eb5930e54a1ff..cfc0e1495f5a1 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 69f21b6b4a0d4..643c622cf704b 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 6677fa9fc3ac5..c7b9d7daa4d37 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 62164d7b6fa89..8de97fc084782 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: