summaryrefslogtreecommitdiff
path: root/perl/perl-Probe-Perl/perl-Probe-Perl.SlackBuild
diff options
context:
space:
mode:
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