aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
Diffstat (limited to 'dev')
-rwxr-xr-xdev/perl/perl-appconfig/perl-appconfig.SlackBuild4
-rwxr-xr-xdev/perl/perl-archive-tar/perl-archive-tar.SlackBuild4
-rwxr-xr-xdev/perl/perl-archive-zip/perl-archive-zip.SlackBuild4
-rwxr-xr-xdev/perl/perl-array-compare/perl-array-compare.SlackBuild4
-rwxr-xr-xdev/perl/perl-berkeleydb/perl-berkeleydb.SlackBuild4
-rwxr-xr-xdev/perl/perl-compress-raw-zlib/perl-compress-raw-zlib.SlackBuild4
-rwxr-xr-xdev/perl/perl-devel-dprof/perl-devel-dprof.SlackBuild6
-rwxr-xr-xdev/perl/perl-file-temp/perl-file-temp.SlackBuild13
-rwxr-xr-xdev/perl/perl-html-stripscripts-parser/perl-html-stripscripts-parser.SlackBuild6
-rwxr-xr-xdev/perl/perl-html-stripscripts/perl-html-stripscripts.SlackBuild6
-rwxr-xr-xdev/perl/perl-xml-sax/perl-xml-sax.SlackBuild13
11 files changed, 32 insertions, 36 deletions
diff --git a/dev/perl/perl-appconfig/perl-appconfig.SlackBuild b/dev/perl/perl-appconfig/perl-appconfig.SlackBuild
index 49789478..973c4a4b 100755
--- a/dev/perl/perl-appconfig/perl-appconfig.SlackBuild
+++ b/dev/perl/perl-appconfig/perl-appconfig.SlackBuild
@@ -99,10 +99,8 @@ make $NUMJOBS || exit $ERROR_MAKE
make install DESTDIR="$PKG" || exit $ERROR_INSTALL
# Fix .packlist
-cd $PKG
-
string="`echo $PKG | sed -e 's/\//\\\\\//g'`"
-for file in `find -name .packlist`; do
+for file in `find $PKG -name .packlist`; do
sed -e "s/^$string//g" $file > $file.tmp
mv $file.tmp $file
done
diff --git a/dev/perl/perl-archive-tar/perl-archive-tar.SlackBuild b/dev/perl/perl-archive-tar/perl-archive-tar.SlackBuild
index 881b7d88..b71bdb46 100755
--- a/dev/perl/perl-archive-tar/perl-archive-tar.SlackBuild
+++ b/dev/perl/perl-archive-tar/perl-archive-tar.SlackBuild
@@ -99,10 +99,8 @@ make $NUMJOBS || exit $ERROR_MAKE
make install DESTDIR="$PKG" || exit $ERROR_INSTALL
# Fix .packlist
-cd $PKG
-
string="`echo $PKG | sed -e 's/\//\\\\\//g'`"
-for file in `find -name .packlist`; do
+for file in `find $PKG -name .packlist`; do
sed -e "s/^$string//g" $file > $file.tmp
mv $file.tmp $file
done
diff --git a/dev/perl/perl-archive-zip/perl-archive-zip.SlackBuild b/dev/perl/perl-archive-zip/perl-archive-zip.SlackBuild
index 27621966..bc0778f1 100755
--- a/dev/perl/perl-archive-zip/perl-archive-zip.SlackBuild
+++ b/dev/perl/perl-archive-zip/perl-archive-zip.SlackBuild
@@ -99,10 +99,8 @@ make $NUMJOBS || exit $ERROR_MAKE
make install DESTDIR="$PKG" || exit $ERROR_INSTALL
# Fix .packlist
-cd $PKG
-
string="`echo $PKG | sed -e 's/\//\\\\\//g'`"
-for file in `find -name .packlist`; do
+for file in `find $PKG -name .packlist`; do
sed -e "s/^$string//g" $file > $file.tmp
mv $file.tmp $file
done
diff --git a/dev/perl/perl-array-compare/perl-array-compare.SlackBuild b/dev/perl/perl-array-compare/perl-array-compare.SlackBuild
index 7050f504..a2d3f364 100755
--- a/dev/perl/perl-array-compare/perl-array-compare.SlackBuild
+++ b/dev/perl/perl-array-compare/perl-array-compare.SlackBuild
@@ -99,10 +99,8 @@ make $NUMJOBS || exit $ERROR_MAKE
make install DESTDIR="$PKG" || exit $ERROR_INSTALL
# Fix .packlist
-cd $PKG
-
string="`echo $PKG | sed -e 's/\//\\\\\//g'`"
-for file in `find -name .packlist`; do
+for file in `find $PKG -name .packlist`; do
sed -e "s/^$string//g" $file > $file.tmp
mv $file.tmp $file
done
diff --git a/dev/perl/perl-berkeleydb/perl-berkeleydb.SlackBuild b/dev/perl/perl-berkeleydb/perl-berkeleydb.SlackBuild
index 16aadeec..171a43cb 100755
--- a/dev/perl/perl-berkeleydb/perl-berkeleydb.SlackBuild
+++ b/dev/perl/perl-berkeleydb/perl-berkeleydb.SlackBuild
@@ -99,10 +99,8 @@ make $NUMJOBS || exit $ERROR_MAKE
make install DESTDIR="$PKG" || exit $ERROR_INSTALL
# Fix .packlist
-cd $PKG
-
string="`echo $PKG | sed -e 's/\//\\\\\//g'`"
-for file in `find -name .packlist`; do
+for file in `find $PKG -name .packlist`; do
sed -e "s/^$string//g" $file > $file.tmp
mv $file.tmp $file
done
diff --git a/dev/perl/perl-compress-raw-zlib/perl-compress-raw-zlib.SlackBuild b/dev/perl/perl-compress-raw-zlib/perl-compress-raw-zlib.SlackBuild
index 5170ee07..b589ae0f 100755
--- a/dev/perl/perl-compress-raw-zlib/perl-compress-raw-zlib.SlackBuild
+++ b/dev/perl/perl-compress-raw-zlib/perl-compress-raw-zlib.SlackBuild
@@ -99,10 +99,8 @@ make $NUMJOBS || exit $ERROR_MAKE
make install DESTDIR="$PKG" || exit $ERROR_INSTALL
# Fix .packlist
-cd $PKG
-
string="`echo $PKG | sed -e 's/\//\\\\\//g'`"
-for file in `find -name .packlist`; do
+for file in `find $PKG -name .packlist`; do
sed -e "s/^$string//g" $file > $file.tmp
mv $file.tmp $file
done
diff --git a/dev/perl/perl-devel-dprof/perl-devel-dprof.SlackBuild b/dev/perl/perl-devel-dprof/perl-devel-dprof.SlackBuild
index bdcf0187..3aa36a37 100755
--- a/dev/perl/perl-devel-dprof/perl-devel-dprof.SlackBuild
+++ b/dev/perl/perl-devel-dprof/perl-devel-dprof.SlackBuild
@@ -14,7 +14,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
# Place - Suite 330, Boston, MA 02111-1307, USA
#
-# slackbuild for perl-devel-dprof, by rha
+# slackbuild for perl-devel-dprof, by Silvio Rhatto
# requires:
# tested: perl-devel-dprof-19990108
#
@@ -99,10 +99,8 @@ make $NUMJOBS || exit $ERROR_MAKE
make install DESTDIR="$PKG" || exit $ERROR_INSTALL
# Fix .packlist
-cd $PKG
-
string="`echo $PKG | sed -e 's/\//\\\\\//g'`"
-for file in `find -name .packlist`; do
+for file in `find $PKG -name .packlist`; do
sed -e "s/^$string//g" $file > $file.tmp
mv $file.tmp $file
done
diff --git a/dev/perl/perl-file-temp/perl-file-temp.SlackBuild b/dev/perl/perl-file-temp/perl-file-temp.SlackBuild
index b7f63730..9a77b62b 100755
--- a/dev/perl/perl-file-temp/perl-file-temp.SlackBuild
+++ b/dev/perl/perl-file-temp/perl-file-temp.SlackBuild
@@ -14,7 +14,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
# Place - Suite 330, Boston, MA 02111-1307, USA
#
-# slackbuild for perl-file-temp, by rha
+# slackbuild for perl-file-temp, by Silvio Rhatto
# requires:
# tested: perl-file-temp-0.20
#
@@ -66,7 +66,7 @@ ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
ERROR_PATCH=40; ERROR_VCS=41; ERROR_MKDIR=42
# Clean up any leftovers of previous builds
-rm -rf "$PKG_WORK" 2> /dev/null
+rm -rf "$PKG_SRC" 2> /dev/null
rm -rf "$PKG" 2> /dev/null
# Create directories if necessary
@@ -86,7 +86,7 @@ fi
# Untar
cd "$PKG_WORK"
tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR
-PKG_SRC="$PWD/`ls -l | awk '/^d/ { print $8 }'`"
+PKG_SRC=`ls -l | awk '/^d/ { print $8 }'`
cd "$PKG_SRC"
# Configure
@@ -98,6 +98,13 @@ make $NUMJOBS || exit $ERROR_MAKE
# Install
make install DESTDIR="$PKG" || exit $ERROR_INSTALL
+# Fix .packlist
+string="`echo $PKG | sed -e 's/\//\\\\\//g'`"
+for file in `find $PKG -name .packlist`; do
+ sed -e "s/^$string//g" $file > $file.tmp
+ mv $file.tmp $file
+done
+
# Strip binaries
( cd "$PKG"
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
diff --git a/dev/perl/perl-html-stripscripts-parser/perl-html-stripscripts-parser.SlackBuild b/dev/perl/perl-html-stripscripts-parser/perl-html-stripscripts-parser.SlackBuild
index 0cdb2aed..95962525 100755
--- a/dev/perl/perl-html-stripscripts-parser/perl-html-stripscripts-parser.SlackBuild
+++ b/dev/perl/perl-html-stripscripts-parser/perl-html-stripscripts-parser.SlackBuild
@@ -14,7 +14,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
# Place - Suite 330, Boston, MA 02111-1307, USA
#
-# slackbuild for perl-html-stripscripts-parser, by rha
+# slackbuild for perl-html-stripscripts-parser, by Silvio Rhatto
# requires: perl-html-stripscripts
# tested: perl-html-stripscripts-parser-1.02
#
@@ -99,10 +99,8 @@ make $NUMJOBS || exit $ERROR_MAKE
make install DESTDIR="$PKG" || exit $ERROR_INSTALL
# Fix .packlist
-cd $PKG
-
string="`echo $PKG | sed -e 's/\//\\\\\//g'`"
-for file in `find -name .packlist`; do
+for file in `find $PKG -name .packlist`; do
sed -e "s/^$string//g" $file > $file.tmp
mv $file.tmp $file
done
diff --git a/dev/perl/perl-html-stripscripts/perl-html-stripscripts.SlackBuild b/dev/perl/perl-html-stripscripts/perl-html-stripscripts.SlackBuild
index dc33052d..a1d8e32b 100755
--- a/dev/perl/perl-html-stripscripts/perl-html-stripscripts.SlackBuild
+++ b/dev/perl/perl-html-stripscripts/perl-html-stripscripts.SlackBuild
@@ -14,7 +14,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
# Place - Suite 330, Boston, MA 02111-1307, USA
#
-# slackbuild for perl-html-stripscripts, by rha
+# slackbuild for perl-html-stripscripts, by Silvio Rhatto
# requires: perl-html-parser
# tested: perl-html-stripscripts-1.04
#
@@ -99,10 +99,8 @@ make $NUMJOBS || exit $ERROR_MAKE
make install DESTDIR="$PKG" || exit $ERROR_INSTALL
# Fix .packlist
-cd $PKG
-
string="`echo $PKG | sed -e 's/\//\\\\\//g'`"
-for file in `find -name .packlist`; do
+for file in `find $PKG -name .packlist`; do
sed -e "s/^$string//g" $file > $file.tmp
mv $file.tmp $file
done
diff --git a/dev/perl/perl-xml-sax/perl-xml-sax.SlackBuild b/dev/perl/perl-xml-sax/perl-xml-sax.SlackBuild
index e114cf2e..950db0be 100755
--- a/dev/perl/perl-xml-sax/perl-xml-sax.SlackBuild
+++ b/dev/perl/perl-xml-sax/perl-xml-sax.SlackBuild
@@ -14,7 +14,7 @@
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
# Place - Suite 330, Boston, MA 02111-1307, USA
#
-# slackbuild for perl-xml-sax, by rha
+# slackbuild for perl-xml-sax, by Silvio Rhatto
# requires: perl-xml-namespacesupport
# tested: perl-xml-sax-0.16
#
@@ -66,7 +66,7 @@ ERROR_TAR=37; ERROR_MKPKG=38; ERROR_GPG=39
ERROR_PATCH=40; ERROR_VCS=41; ERROR_MKDIR=42
# Clean up any leftovers of previous builds
-rm -rf "$PKG_WORK" 2> /dev/null
+rm -rf "$PKG_SRC" 2> /dev/null
rm -rf "$PKG" 2> /dev/null
# Create directories if necessary
@@ -86,7 +86,7 @@ fi
# Untar
cd "$PKG_WORK"
tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR
-PKG_SRC="$PWD/`ls -l | awk '/^d/ { print $8 }'`"
+PKG_SRC=`ls -l | awk '/^d/ { print $8 }'`
cd "$PKG_SRC"
# Configure
@@ -100,6 +100,13 @@ make $NUMJOBS || exit $ERROR_MAKE
# Install
make install DESTDIR="$PKG" || exit $ERROR_INSTALL
+# Fix .packlist
+string="`echo $PKG | sed -e 's/\//\\\\\//g'`"
+for file in `find $PKG -name .packlist`; do
+ sed -e "s/^$string//g" $file > $file.tmp
+ mv $file.tmp $file
+done
+
# Strip binaries
( cd "$PKG"
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \