diff options
author | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2006-09-22 16:03:43 +0000 |
---|---|---|
committer | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2006-09-22 16:03:43 +0000 |
commit | a33b571d47928b1ac2504979d3b1a39c0a6f484f (patch) | |
tree | 269890982fd8ed00b0e5ef506d6ba7114230378b /wipe/wipe.SlackBuild | |
parent | e2899c0dee2315879cbdbb522c35371cf2c5a8d3 (diff) | |
download | slackbuilds-a33b571d47928b1ac2504979d3b1a39c0a6f484f.tar.gz slackbuilds-a33b571d47928b1ac2504979d3b1a39c0a6f484f.tar.bz2 |
added wipe
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@258 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'wipe/wipe.SlackBuild')
-rwxr-xr-x | wipe/wipe.SlackBuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/wipe/wipe.SlackBuild b/wipe/wipe.SlackBuild new file mode 100755 index 00000000..5bafd3a3 --- /dev/null +++ b/wipe/wipe.SlackBuild @@ -0,0 +1,32 @@ +#!/bin/bash +# +# SlackBuild script to call wipe.build with correct settings +# + +CWD="`pwd`" + +if [ -f "/etc/slackbuildrc" ]; then + source /etc/slackbuildrc +fi + +if [ -f "~/.slackbuildrc" ]; then + source ~/.slackbuildrc +fi + +# default settings +PACKAGE="wipe" +VERSION=${VERSION:=2.2.0} +ARCH="${ARCH:=i486}" +BUILD=${BUILD:=1rha} +SRC_DIR=${SRC:=$CWD} +TMP=${TMP:=/tmp} +REPOS=${REPOS:=$TMP} + +rm -rf $TMP/$PACKAGE +mkdir -p $SRC_DIR/$PACKAGE $TMP/$PACKAGE + +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 |