aboutsummaryrefslogtreecommitdiff
path: root/media/sound/ardour/ardour.SlackBuild
diff options
context:
space:
mode:
authorrudson <rudson@370017ae-e619-0410-ac65-c121f96126d4>2006-11-15 22:04:01 +0000
committerrudson <rudson@370017ae-e619-0410-ac65-c121f96126d4>2006-11-15 22:04:01 +0000
commit4956a045a010b3769cb1cff54466970287bdcf6e (patch)
tree95ddac5add523c87fae9c667e4a2e8a43346fb73 /media/sound/ardour/ardour.SlackBuild
parentd42b9fde38d800bb608fca4d119f5a7324957392 (diff)
downloadslackbuilds-4956a045a010b3769cb1cff54466970287bdcf6e.tar.gz
slackbuilds-4956a045a010b3769cb1cff54466970287bdcf6e.tar.bz2
movendo...
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@662 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'media/sound/ardour/ardour.SlackBuild')
-rwxr-xr-xmedia/sound/ardour/ardour.SlackBuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/media/sound/ardour/ardour.SlackBuild b/media/sound/ardour/ardour.SlackBuild
new file mode 100755
index 00000000..9976c3b1
--- /dev/null
+++ b/media/sound/ardour/ardour.SlackBuild
@@ -0,0 +1,43 @@
+#!/bin/bash
+#
+# SlackBuild script to call ardour.build with correct settings
+#
+
+if [ -s "slack-required" ]; then
+ echo Recomended and required packages for building ardour are:
+ cat slack-required | sed -e 's/^/\t/'
+ if [ "$INTERACT" != "no" ]; then
+ echo If you dont have those installed, press Ctrl-C. Otherwise, hit ENTER.
+ read crap
+# else
+# echo Sleeping 3 seconds...
+# sleep 3
+ fi
+fi
+
+CWD="`pwd`"
+
+if [ -f ~/.slackbuildrc ]; then
+ source ~/.slackbuildrc
+elif [ -f /etc/slackbuildrc ]; then
+ source /etc/slackbuildrc
+fi
+
+# default settings
+PACKAGE="ardour"
+VERSION=${VERSION:=0.99.3}
+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
+