summaryrefslogtreecommitdiff
path: root/testdist.sh
blob: c7c6bfc68a03b2d556f2adf0fd30a2a54e4950c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash

if [ $# -lt 1 ]
then
		echo "Missing version argument."
		exit 1
fi

if [ "$VST_BASE" == "" ]
then
		echo "Set the absolute VST_BASE variable."
		exit 1
fi


VER=$1

make dist && (
		mkdir -p tst
		cd tst
		rm -Rf drumgizmo-$VER
		tar xvzf ../drumgizmo-$VER.tar.gz
		cd drumgizmo-$VER
		./configure --enable-lv2 --enable-cli --enable-vst \
				--with-vst-sources="$VST_BASE" --prefix=/usr
		make
		DESTDIR=$PWD/tst/install make install
)