aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-X10/perl-X10.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-X10/perl-X10.SlackBuild')
-rw-r--r--perl/perl-X10/perl-X10.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/perl/perl-X10/perl-X10.SlackBuild b/perl/perl-X10/perl-X10.SlackBuild
index 851fc1150ff07..dfec0627aeb68 100644
--- a/perl/perl-X10/perl-X10.SlackBuild
+++ b/perl/perl-X10/perl-X10.SlackBuild
@@ -25,7 +25,7 @@
SRCNAM=X10
PRGNAM=perl-$SRCNAM
-VERSION=${VERSION:-0.03}
+VERSION=${VERSION:-0.04}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,8 +74,8 @@ find -L . \
perl Makefile.PL \
PREFIX=/usr \
INSTALLDIRS=vendor \
+ INSTALLVENDORMAN1DIR=/usr/man/man1 \
INSTALLVENDORMAN3DIR=/usr/man/man3
-
make
make test
make install DESTDIR=$PKG
@@ -84,10 +84,11 @@ find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs r
find $PKG -depth -type d -empty -delete || true
+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
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README TODO Changes \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README TODO Changes $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install