diff options
author | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2006-08-08 00:30:55 +0000 |
---|---|---|
committer | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2006-08-08 00:30:55 +0000 |
commit | 4697c68b350273f8cf98c388362f64ab19318634 (patch) | |
tree | ba815879cd430a705a4079003c0530d7ea9dcbeb /munin/munin.SlackBuild | |
parent | bdda9752d187627dfc87daa6c2632b150ea05b50 (diff) | |
download | slackbuilds-4697c68b350273f8cf98c388362f64ab19318634.tar.gz slackbuilds-4697c68b350273f8cf98c388362f64ab19318634.tar.bz2 |
munin update: added slackbuild
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@13 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'munin/munin.SlackBuild')
-rwxr-xr-x | munin/munin.SlackBuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/munin/munin.SlackBuild b/munin/munin.SlackBuild new file mode 100755 index 00000000..a8c1007f --- /dev/null +++ b/munin/munin.SlackBuild @@ -0,0 +1,29 @@ +#!/bin/bash +# +# SlackBuild script to call munin.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="munin" +VERSION=${VERSION:=1.2.4} +ARCH="noarch" +BUILD=${BUILD:=3rha} +SRC_DIR=${SRC:=$CWD} +TMP=${TMP:=/tmp} +REPOS=${REPOS:=$TMP} + +rm -rf $TMP/$PACKAGE +mkdir -p $SRC_DIR/$PACKAGE $TMP/$PACKAGE + +slacktrack -x $TMP,$SRC_DIR,/dev -jefkzp "$REPOS/$PACKAGE-$VERSION-$ARCH-$BUILD.tgz" "./$PACKAGE.build" + |