diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2015-08-28 00:44:03 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-08-28 00:44:03 +0700 |
commit | e1787e22e74dbcab7d2bce9294067f7ab9f79f0b (patch) | |
tree | 87e888f2691f2413ea48ef3fd9b8e61b85cd3f5a /perl/perl-Test-Pod/perl-Test-Pod.SlackBuild | |
parent | a9590cbca4149d06d87cd9e3dbe9d9db4dfe0ecd (diff) |
perl/perl-Test-Pod: Updated for version 1.51.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-Test-Pod/perl-Test-Pod.SlackBuild')
-rw-r--r-- | perl/perl-Test-Pod/perl-Test-Pod.SlackBuild | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild b/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild index 68075ba5f9a31..6c6965ed69370 100644 --- a/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild +++ b/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild @@ -3,7 +3,7 @@ # Slackware Package Build Script for perl modules: Test::POD # Home Page http://search.cpan.org/dist/Test-Pod/ -# Copyright (c) 2008-2013, Nishant Limbachia, Hoffman Estates, IL, USA +# Copyright (c) 2008-2015, Nishant Limbachia, Hoffman Estates, IL, USA # (nishant _AT_ mnspace _DOT_ net) # All rights reserved. @@ -27,13 +27,12 @@ # # Modified by the SlackBuilds.org project. +SRCNAM="Test-Pod" PRGNAM="perl-Test-Pod" -VERSION=${VERSION:-1.48} +VERSION=${VERSION:-1.51} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRCNAM="$(printf $PRGNAM | cut -f2- -d-)" - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -63,12 +62,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; - CFLAGS="$SLKCFLAGS" \ -perl Build.PL prefix=/usr installdirs=vendor destdir=$PKG -./Build -./Build test -./Build install +perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 + +make +make install DESTDIR=$PKG ### putting essential docs mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION @@ -78,7 +76,6 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # Remove perlocal.pod and .packlist from $PKG find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f -mv $PKG/usr/share/man $PKG/usr/man 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 |