summaryrefslogtreecommitdiff
path: root/perl/perl-Probe-Perl/perl-Probe-Perl.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-11-06 18:03:08 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-09 01:34:35 -0600
commit7dedc03056b5582612009834980f2f5872b8b47c (patch)
tree6a7559ab13d58a631729cd2b63b307b7b306fed7 /perl/perl-Probe-Perl/perl-Probe-Perl.SlackBuild
parent12f74f646276c29fd3022382926de096b13795a9 (diff)
downloadslackbuilds-7dedc03056b5582612009834980f2f5872b8b47c.tar.gz
perl/perl-Probe-Perl: Updated for version 0.03.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'perl/perl-Probe-Perl/perl-Probe-Perl.SlackBuild')
-rw-r--r--perl/perl-Probe-Perl/perl-Probe-Perl.SlackBuild23
1 files changed, 11 insertions, 12 deletions
diff --git a/perl/perl-Probe-Perl/perl-Probe-Perl.SlackBuild b/perl/perl-Probe-Perl/perl-Probe-Perl.SlackBuild
index 7a3fe9b3c1..060c75d440 100644
--- a/perl/perl-Probe-Perl/perl-Probe-Perl.SlackBuild
+++ b/perl/perl-Probe-Perl/perl-Probe-Perl.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-Probe-Perl
-VERSION=${VERSION:-0.01}
+VERSION=${VERSION:-0.03}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,20 +51,19 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
-find . \
+find -L . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-perl Build.PL \
- prefix=/usr \
- installdirs=vendor \
- destdir=$PKG
-./Build
-./Build test
-./Build install \
- --install_path libdoc=/usr/man/man3
+perl Makefile.PL \
+ PREFIX=/usr \
+ INSTALLDIRS=vendor \
+ 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