aboutsummaryrefslogtreecommitdiff
path: root/dev/perl/perl-test-exception/perl-test-exception.SlackBuild
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-12-03 21:16:13 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-12-03 21:16:13 +0000
commitabf5190694ab7befccd6910a7c0c727ff0282f32 (patch)
tree7554e6d651f662550a467fd53f50a546d3c4a0b8 /dev/perl/perl-test-exception/perl-test-exception.SlackBuild
parent98862ad5f9c6c916163b7ae03c915bd579467a9f (diff)
downloadslackbuilds-abf5190694ab7befccd6910a7c0c727ff0282f32.tar.gz
slackbuilds-abf5190694ab7befccd6910a7c0c727ff0282f32.tar.bz2
added perl-test-exception
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@758 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'dev/perl/perl-test-exception/perl-test-exception.SlackBuild')
-rwxr-xr-xdev/perl/perl-test-exception/perl-test-exception.SlackBuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev/perl/perl-test-exception/perl-test-exception.SlackBuild b/dev/perl/perl-test-exception/perl-test-exception.SlackBuild
new file mode 100755
index 00000000..edf5112f
--- /dev/null
+++ b/dev/perl/perl-test-exception/perl-test-exception.SlackBuild
@@ -0,0 +1,30 @@
+#!/bin/bash
+#
+# SlackBuild script to call perl-test-exception.build with correct settings
+#
+
+CWD="`pwd`"
+
+if [ -f ~/.slackbuildrc ]; then
+ source ~/.slackbuildrc
+elif [ -f /etc/slackbuildrc ]; then
+ source /etc/slackbuildrc
+fi
+
+# default settings
+PACKAGE="perl-test-exception"
+VERSION=${VERSION:=0.24}
+ARCH=${ARCH:=i386}
+BUILD=${BUILD:=1rha}
+SRC_DIR=${SRC:=$CWD}
+TMP=${TMP:=/tmp}
+REPOS=${REPOS:=$TMP}
+
+rm -rf $TMP/$PACKAGE
+mkdir -p $SRC_DIR/$PACKAGE $TMP/$PACKAGE $REPOS
+
+slacktrack -b $REPOS -x $TMP,$SRC_DIR,/dev -jefkzp "$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build"
+
+if [ "$CLEANUP" == "yes" ]; then
+ rm -rf $TMP/$PACKAGE
+fi