summaryrefslogtreecommitdiff
path: root/development/cpan2tgz/buildslackpkg.diff
diff options
context:
space:
mode:
Diffstat (limited to 'development/cpan2tgz/buildslackpkg.diff')
-rw-r--r--development/cpan2tgz/buildslackpkg.diff27
1 files changed, 13 insertions, 14 deletions
diff --git a/development/cpan2tgz/buildslackpkg.diff b/development/cpan2tgz/buildslackpkg.diff
index acdc08215c..c83effb81f 100644
--- a/development/cpan2tgz/buildslackpkg.diff
+++ b/development/cpan2tgz/buildslackpkg.diff
@@ -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