X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fbld_scripts%2Fbld_static.sh;h=14c461c2841383a025a1d66b5a31824742a23d3e;hb=7a70932d3e04454177c456d0b42ee2f5318d6ad1;hp=402a9791ef75bb5262a9c77af5e994a182b084e3;hpb=ded6adaa0ad1bdb311f013c1e94d7c5582b228db;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/bld_scripts/bld_static.sh b/cinelerra-5.1/bld_scripts/bld_static.sh index 402a9791..14c461c2 100755 --- a/cinelerra-5.1/bld_scripts/bld_static.sh +++ b/cinelerra-5.1/bld_scripts/bld_static.sh @@ -14,7 +14,7 @@ fi cd "$path/$dir/$bld" rm -rf "$proj" -git clone "git://git.cinelerra-cv.org/goodguy/cinelerra.git" "$proj" +git clone --depth 1 "git://git.cinelerra-cv.org/goodguy/cinelerra.git" "$proj" #rsh host tar -C /mnt0 -cf - cinelerra5 | tar -xf - if [ $? -ne 0 ]; then echo "git clone $proj failed" @@ -22,21 +22,10 @@ if [ $? -ne 0 ]; then fi cd "$proj/$base" -#case "$dir" in -# "ubuntu" | "mint" | "ub14" | "ub15") -# echo "CFLAGS += -DPNG_SKIP_SETJMP_CHECK=1" >> global_config ;; -# "centos") -# echo "CFLAGS += -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS" >> global_config -# echo "EXTRA_LIBS += -lnuma" >> global_config ;; -# "suse" | "leap") -# echo "EXTRA_LIBS += -lnuma" >> global_config ;; -# "fedora") -# echo "EXTRA_LIBS += -lnuma" >> global_config ;; -#esac -./configure static >& log -make >> log 2>&1 $@ -make install >> log 2>&1 +./autogen.sh +./configure --enable-static=yes +make all install >& log echo "finished: scanning log for ***" grep -ai "\*\*\*.*error" log