aboutsummaryrefslogtreecommitdiff
path: root/development/cpan2tgz
diff options
context:
space:
mode:
Diffstat (limited to 'development/cpan2tgz')
-rw-r--r--development/cpan2tgz/README4
-rw-r--r--development/cpan2tgz/cpan2tgz.SlackBuild10
-rw-r--r--development/cpan2tgz/cpan2tgz.info2
-rw-r--r--development/cpan2tgz/slack-desc12
4 files changed, 15 insertions, 13 deletions
diff --git a/development/cpan2tgz/README b/development/cpan2tgz/README
index a7b6fb4206f1e..cf8955cf0a01c 100644
--- a/development/cpan2tgz/README
+++ b/development/cpan2tgz/README
@@ -1,2 +1,2 @@
-cpan2tgz is an utility to create Slackware packages from CPAN Perl
-module distributions. It was created by the author of slapt-get.
+cpan2tgz is an utility to create Slackware packages from CPAN Perl module
+distributions. It was created by Jason Woodward, the author of slapt-get.
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}
diff --git a/development/cpan2tgz/cpan2tgz.info b/development/cpan2tgz/cpan2tgz.info
index cadc249ca26ad..84b1689105e42 100644
--- a/development/cpan2tgz/cpan2tgz.info
+++ b/development/cpan2tgz/cpan2tgz.info
@@ -3,6 +3,8 @@ VERSION="0.6.5"
HOMEPAGE="http://software.jaos.org"
DOWNLOAD="http://software.jaos.org/source/cpan2tgz/cpan2tgz-0.6.5.tar.gz"
MD5SUM="790c94cf0d3fb903649586d7ad4311e9"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="David Somero"
EMAIL="dsomero@hotmail.com"
APPROVED="rworkman"
diff --git a/development/cpan2tgz/slack-desc b/development/cpan2tgz/slack-desc
index a719721f37fdd..d29b464c3674e 100644
--- a/development/cpan2tgz/slack-desc
+++ b/development/cpan2tgz/slack-desc
@@ -7,13 +7,13 @@
|-----handy-ruler------------------------------------------------------|
cpan2tgz: cpan2tgz (create Slackware packages from CPAN Perl modules)
-cpan2tgz:
+cpan2tgz:
cpan2tgz: cpan2tgz is a utility used to create Slackware packages from
cpan2tgz: CPAN perl modules.
-cpan2tgz:
+cpan2tgz:
cpan2tgz: cpan2tgz was written by Jason Woodward <woodwardj at jaos dot org>
-cpan2tgz:
+cpan2tgz:
cpan2tgz: http://software.jaos.org/
-cpan2tgz:
-cpan2tgz:
-cpan2tgz:
+cpan2tgz:
+cpan2tgz:
+cpan2tgz: