aboutsummaryrefslogtreecommitdiff
path: root/munin/munin.SlackBuild
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-08-08 00:30:55 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-08-08 00:30:55 +0000
commit4697c68b350273f8cf98c388362f64ab19318634 (patch)
treeba815879cd430a705a4079003c0530d7ea9dcbeb /munin/munin.SlackBuild
parentbdda9752d187627dfc87daa6c2632b150ea05b50 (diff)
downloadslackbuilds-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-xmunin/munin.SlackBuild29
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"
+