use autoconf/automake for configuration
[goodguy/history.git] / cinelerra-5.1 / bld_scripts / bld_static.sh
1 #!/bin/bash
2
3 dir="$1"
4 shift
5 path="/home"
6 bld="git-repo"
7 proj="cinelerra5"
8 base="cinelerra-5.1"
9
10 if [ ! -d "$path/$dir/$bld" ]; then
11   echo "$bld missing in $path/$dir"
12   exit 1
13 fi
14
15 cd "$path/$dir/$bld"
16 rm -rf "$proj"
17 git clone --depth 1 "git://git.cinelerra-cv.org/goodguy/cinelerra.git" "$proj"
18 #rsh host tar -C /mnt0 -cf - cinelerra5 | tar -xf -
19 if [ $? -ne 0 ]; then
20   echo "git clone $proj failed"
21   exit 1
22 fi
23
24 cd "$proj/$base"
25
26 ./autogen.sh
27 ./configure --enable-static=yes
28 make all install >& log
29
30 echo "finished: scanning log for ***"
31 grep -ai "\*\*\*.*error" log
32