diff options
author | David Somero <dsomero@hotmail.com> | 2010-05-13 00:24:23 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:24:23 +0200 |
commit | fcfcfd4fdbc58f3a4314f6fa7d84463daedd612f (patch) | |
tree | 7821ccd52dcd6c1b37a0ca75bf756242173be69c /development/cpan2tgz/cpan2tgz.SlackBuild | |
parent | 67b16892b0bcafeef8f3b984e549bc0876ce8a39 (diff) |
development/cpan2tgz: Updated for version 0.6.5
Diffstat (limited to 'development/cpan2tgz/cpan2tgz.SlackBuild')
-rw-r--r-- | development/cpan2tgz/cpan2tgz.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/development/cpan2tgz/cpan2tgz.SlackBuild b/development/cpan2tgz/cpan2tgz.SlackBuild index 1350a59fdee79..532003334a884 100644 --- a/development/cpan2tgz/cpan2tgz.SlackBuild +++ b/development/cpan2tgz/cpan2tgz.SlackBuild @@ -66,10 +66,10 @@ make install DESTDIR=$PKG INSTALLSITEMAN1DIR=/usr/man/man1 for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done ) -# Remove some unnecessary files -find $PKG \ - -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true -rm -rf $PKG/usr/lib +# Remove unnecessary crap +eval $(perl '-V:archlib'); eval $(perl '-V:sitelib') +rm -rf $PKG/$archlib/* $PKG/$sitelib/* +rmdir --parents $PKG/$sitelib $PKG/$archlib 2>/dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING README Changelog $PKG/usr/doc/$PRGNAM-$VERSION @@ -79,4 +79,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |