diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-03-04 05:48:45 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-03-04 05:48:45 +0700 |
commit | 95b648e43926b367d7054a4506ecb293f72cf57b (patch) | |
tree | ae34664dbe559c86f63f3d598e40a34635950335 /perl/perl-Net-Write/perl-Net-Write.SlackBuild | |
parent | 19be196ba1ad542f1a657abddc0c0a9a5dddc02a (diff) | |
download | slackbuilds-95b648e43926b367d7054a4506ecb293f72cf57b.tar.gz |
perl/perl-Net-Write: Updated for version 1.10.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-Net-Write/perl-Net-Write.SlackBuild')
-rw-r--r-- | perl/perl-Net-Write/perl-Net-Write.SlackBuild | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/perl/perl-Net-Write/perl-Net-Write.SlackBuild b/perl/perl-Net-Write/perl-Net-Write.SlackBuild index 68805bd8b3..606caa2f97 100644 --- a/perl/perl-Net-Write/perl-Net-Write.SlackBuild +++ b/perl/perl-Net-Write/perl-Net-Write.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=perl-Net-Write -VERSION=${VERSION:-1.07} +VERSION=${VERSION:-1.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -72,32 +72,23 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -perl Makefile.PL INSTALLDIRS=perl +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 make -make test make install DESTDIR=$PKG # Move man pages mv $PKG/usr/share/man $PKG/usr/ -# Compress man pages -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) - -# Remove perllocal.pod and other special files that don't need to be installed -( cd $PKG - # Remove 'special' files - find . -name perllocal.pod \ - -o -name ".packlist" \ - -o -name "*.bs" \ - | xargs rm -f -) - # Remove empty directories find $PKG -depth -type d -empty -delete +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 $DOCS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |