aboutsummaryrefslogtreecommitdiff
path: root/scripts/auto-build
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-03 05:12:00 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-03 05:12:00 +0000
commit54654efcedad0d5d883dc65470c1d14b1bc25d2e (patch)
tree1779bc4ecfd8b8c26444439b96c0b087ce089747 /scripts/auto-build
parent6e44c308926d9bae973cb8907db576fe67d25000 (diff)
first complete sketch of pd-main auto-builder; time to try it
svn path=/trunk/; revision=5464
Diffstat (limited to 'scripts/auto-build')
-rwxr-xr-xscripts/auto-build/pd-main-auto-builder.sh40
1 files changed, 40 insertions, 0 deletions
diff --git a/scripts/auto-build/pd-main-auto-builder.sh b/scripts/auto-build/pd-main-auto-builder.sh
new file mode 100755
index 00000000..20ffbdd5
--- /dev/null
+++ b/scripts/auto-build/pd-main-auto-builder.sh
@@ -0,0 +1,40 @@
+#!/bin/sh
+
+HOSTNAME=`hostname`
+SYSTEM=`uname -s`
+DATE=`date +%Y-%m-%d`
+TIME=`date +%H.%M.%S`
+SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'`
+
+ROOT_DIR=/home/pd/auto-build/pd-main/pure-data
+
+case $SYSTEM in
+ Linux)
+ configure_options="--enable-alsa --enable-jack"
+ platform_name=`uname -m`
+ ;;
+ Darwin)
+ configure_options="--enable-jack"
+ platform_name=`uname -p`
+ ;;
+ MINGW*)
+ configure_options=""
+ platform_name=i386
+ ;;
+ *)
+ echo "ERROR: Platform $SYSTEM not supported!"
+ exit
+ ;;
+esac
+
+package_name="${ROOT_DIR{}/pd-${DATE}-${SYSTEM}-${HOSTNAME}-${platform_name}.tar.bz2"
+
+cd ${ROOT_DIR}/pure-data/pd/src && \
+ autoconf && \
+ ./configure $configure_options && \
+ make && \
+ cd ../../ && \
+ tar cjf $package_name pd && \
+ rsync -a ${package_name} rsync://128.238.56.50/upload/${DATE}/
+
+