diff options
| author | rudson <rudson@370017ae-e619-0410-ac65-c121f96126d4> | 2006-11-15 23:32:09 +0000 |
|---|---|---|
| committer | rudson <rudson@370017ae-e619-0410-ac65-c121f96126d4> | 2006-11-15 23:32:09 +0000 |
| commit | 36dfae9b5a58be5a5ad46c4741c0565eebc352d5 (patch) | |
| tree | bf4ebd0c129509b386cc671458b3b5e1bfc20d2a /www/apps/moin/moin.SlackBuild | |
| parent | d0e473b0107d9f3939ddba7f49965c2fb9079a3d (diff) | |
| download | slackbuilds-36dfae9b5a58be5a5ad46c4741c0565eebc352d5.tar.gz slackbuilds-36dfae9b5a58be5a5ad46c4741c0565eebc352d5.tar.bz2 | |
movendo...
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@683 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'www/apps/moin/moin.SlackBuild')
| -rwxr-xr-x | www/apps/moin/moin.SlackBuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/www/apps/moin/moin.SlackBuild b/www/apps/moin/moin.SlackBuild new file mode 100755 index 00000000..3825c1d7 --- /dev/null +++ b/www/apps/moin/moin.SlackBuild @@ -0,0 +1,30 @@ +#!/bin/bash +# +# SlackBuild script to call moin.build with correct settings +# + +CWD="`pwd`" + +if [ -f ~/.slackbuildrc ]; then + source ~/.slackbuildrc +elif [ -f /etc/slackbuildrc ]; then + source /etc/slackbuildrc +fi + +# default settings +PACKAGE="moin" +VERSION=${VERSION:=1.5.6} +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 $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 |
