development/cpan2tgz: Updated for version 0.6.2

This commit is contained in:
David Somero 2010-05-11 22:22:24 +02:00 committed by Robby Workman
parent d68a5e3f17
commit d9a74b3033
3 changed files with 19 additions and 20 deletions

View File

@ -1,32 +1,31 @@
--- cpan2tgz-0.6/buildslackpkg.sh.orig 2006-08-23 15:51:09.546266236 -0500
+++ cpan2tgz-0.6/buildslackpkg.sh 2006-08-23 16:02:48.273371442 -0500
@@ -1,8 +1,11 @@
diff -ur cpan2tgz-0.6.2-old/buildslackpkg.sh cpan2tgz-0.6.2/buildslackpkg.sh
--- cpan2tgz-0.6.2-old/buildslackpkg.sh 2007-06-18 00:11:50.000000000 -0400
+++ cpan2tgz-0.6.2/buildslackpkg.sh 2008-04-25 19:02:51.000000000 -0400
@@ -1,10 +1,13 @@
#!/bin/sh
-DESTINATION=/tmp/$$
+PKG=/tmp/SBo/package-cpan2tgz
+OUTPUT=/tmp
+DESTINATION=$PKG
VERSION=`grep VERSION cpan2tgz |awk '{print $4}'|cut -f2 -d\"`
VERSION=`grep VERSION cpan2tgz | awk '{print $4}'|cut -f2 -d\'`
PKGNAME=cpan2tgz
+TAG=_SBo
perl Makefile.PL
-perl Makefile.PL
+perl Makefile.PL INSTALLDIRS=vendor
make
@@ -32,11 +35,8 @@
if [ -d ./usr/share/man ]; then
mv ./usr/share/man ./usr
chown -R root.root .
find . -perm 777 -exec chmod 755 {} \;
@@ -37,6 +40,7 @@
chmod 755 ./usr/bin/*
fi
- if [ -d ./usr/bin ]; then
- chown -R root.bin ./usr/bin
- chmod 755 ./usr/bin/*
- fi
chmod 644 ./usr/man/man?/*
+ gzip -9 ./usr/man/man?/*
rmdir ./usr/share
mkdir install
@@ -51,8 +51,6 @@
@@ -51,8 +55,6 @@
rm $PERLLOCALPOD
fi
@ -35,7 +34,7 @@
cat >./install/slack-desc <<EOF
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
@@ -73,7 +71,7 @@
@@ -73,7 +75,7 @@
${PKGNAME}: http://software.jaos.org/
${PKGNAME}:
EOF

View File

@ -40,7 +40,7 @@
########################################################################
PRGNAM=cpan2tgz
VERSION=0.6
VERSION=0.6.2
ARCH=noarch
BUILD=1
TAG=_SBo

View File

@ -1,8 +1,8 @@
PRGNAM="cpan2tgz"
VERSION="0.6"
VERSION="0.6.2"
HOMEPAGE="http://software.jaos.org"
DOWNLOAD="http://software.jaos.org/source/cpan2tgz/cpan2tgz-0.6.tar.gz"
MD5SUM="6fbecc80d3146b11259fad8c6189d387"
MAINTAINER="Martin Lefebvre"
EMAIL="dadexter@gmail.com"
DOWNLOAD="http://software.jaos.org/source/cpan2tgz/cpan2tgz-0.6.2.tar.gz"
MD5SUM="d6cb5331abf6918c56f18e1a59cf983e"
MAINTAINER="David Somero"
EMAIL="dsomero@hotmail.com"
APPROVED="rworkman,Alan_Hicks"