aboutsummaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorAndreas Voegele <andreas@andreasvoegele.com>2013-06-17 21:51:57 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2013-06-18 08:23:14 -0300
commitbed41d825739b992d3812b3c1bb2c82433c2f9c3 (patch)
tree8268e32f05d95b00efbac4be643b663c05b6ab4c /perl
parent6dfd7267ca7df4ae0d09a6b633a00b6bac2dc516 (diff)
perl/perl-CPANPLUS-Dist-Slackware: Updated for version 1.013.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-CPANPLUS-Dist-Slackware/README8
-rw-r--r--perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.SlackBuild30
-rw-r--r--perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.info6
3 files changed, 21 insertions, 23 deletions
diff --git a/perl/perl-CPANPLUS-Dist-Slackware/README b/perl/perl-CPANPLUS-Dist-Slackware/README
index afefab55bbe1d..5a1ced3bc59a0 100644
--- a/perl/perl-CPANPLUS-Dist-Slackware/README
+++ b/perl/perl-CPANPLUS-Dist-Slackware/README
@@ -1,6 +1,6 @@
CPANPLUS::Dist::Slackware is a CPANPLUS plugin that creates Slackware
compatible packages from Perl distributions. You can either install the
-created packages using the API provided by CPANPLUS, or manually via
+created packages using the API provided by CPANPLUS or manually via
"installpkg".
$ cpanp
@@ -9,7 +9,5 @@ created packages using the API provided by CPANPLUS, or manually via
$ cpan2dist --format CPANPLUS::Dist::Slackware Some::Module
$ sudo /sbin/installpkg /tmp/perl-Some-Module-1.0-i486-1_CPANPLUS.tgz
-After installing, you can find documentation for this plugin with the
-perldoc command.
-
- perldoc CPANPLUS::Dist::Slackware
+Please type "perldoc CPANPLUS::Dist::Slackware" after installation to
+see the module usage information.
diff --git a/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.SlackBuild b/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.SlackBuild
index 74802e9ae7667..2862720869391 100644
--- a/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.SlackBuild
+++ b/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.SlackBuild
@@ -2,26 +2,26 @@
# Slackware build script for perl-CPANPLUS-Dist-Slackware
-# Copyright (c) 2012 Andreas Voegele <andreas@andreasvoegele.com>
+# Copyright 2012, 2013 Andreas Voegele <andreas@andreasvoegele.com>
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
-# THE SOFWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-# WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
-# IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
-# OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
PRGNAM=perl-CPANPLUS-Dist-Slackware
-VERSION=${VERSION:-1.011}
+VERSION=${VERSION:-1.013}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCNAM=${PRGNAM#perl-}
+SRCNAM=$(echo $PRGNAM | cut -d- -f2-)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -65,14 +65,14 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-perl Build.PL \
- installdirs=vendor \
- destdir=$PKG
-./Build
-./Build test
-./Build install \
- --install_path bindoc=/usr/man/man1 \
- --install_path libdoc=/usr/man/man3
+perl Makefile.PL \
+ PREFIX=/usr \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN1DIR=/usr/man/man1 \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
+make
+make test
+make install DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
diff --git a/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.info b/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.info
index 89879bf0ccc4c..1e3b505e7501f 100644
--- a/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.info
+++ b/perl/perl-CPANPLUS-Dist-Slackware/perl-CPANPLUS-Dist-Slackware.info
@@ -1,8 +1,8 @@
PRGNAM="perl-CPANPLUS-Dist-Slackware"
-VERSION="1.011"
+VERSION="1.013"
HOMEPAGE="https://metacpan.org/release/CPANPLUS-Dist-Slackware"
-DOWNLOAD="http://cpan.metacpan.org/authors/id/V/VO/VOEGELAS/CPANPLUS-Dist-Slackware-1.011.tar.gz"
-MD5SUM="25216de6afe98db42a2f69d933d998aa"
+DOWNLOAD="http://cpan.metacpan.org/authors/id/V/VO/VOEGELAS/CPANPLUS-Dist-Slackware-1.013.tar.gz"
+MD5SUM="138f3a07c56e88347d49fe987fabb812"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="fakeroot"