summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-08-01 07:40:22 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-08-01 07:40:22 +0700
commit37f3e81986a695763cdfffecc7965be1e64637e8 (patch)
treed4a3b40723eed8cc32a9dc09c0b572198da3bfdb /development
parent6ee8b4d347c8ad59d26be0d7058aab257b63a8e2 (diff)
downloadslackbuilds-37f3e81986a695763cdfffecc7965be1e64637e8.tar.gz
development/cpan2tgz: Update DOWNLOAD url.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/cpan2tgz/cpan2tgz.SlackBuild16
-rw-r--r--development/cpan2tgz/cpan2tgz.info4
2 files changed, 12 insertions, 8 deletions
diff --git a/development/cpan2tgz/cpan2tgz.SlackBuild b/development/cpan2tgz/cpan2tgz.SlackBuild
index 32b7d1d627..8316ea3627 100644
--- a/development/cpan2tgz/cpan2tgz.SlackBuild
+++ b/development/cpan2tgz/cpan2tgz.SlackBuild
@@ -41,16 +41,20 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -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 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -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
+perl Makefile.PL \
+ PREFIX=/usr \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN1DIR=/usr/man/man1 \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
make
make install DESTDIR=$PKG INSTALLSITEMAN1DIR=/usr/man/man1
diff --git a/development/cpan2tgz/cpan2tgz.info b/development/cpan2tgz/cpan2tgz.info
index 765a0a7fdd..fbf76edbf8 100644
--- a/development/cpan2tgz/cpan2tgz.info
+++ b/development/cpan2tgz/cpan2tgz.info
@@ -1,8 +1,8 @@
PRGNAM="cpan2tgz"
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="https://github.com/jaos/cpan2tgz/archive/0.6.5.tar.gz"
+MD5SUM="8b8711e29a991ade143b5184beeeffdf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""