X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fbuild%2Fbld_package.sh;fp=cinelerra-5.1%2Fbuild%2Fbld_package.sh;h=0000000000000000000000000000000000000000;hp=5aa2a14b46c675194f5d9c54c00b05d1a4c1eaff;hb=7a70932d3e04454177c456d0b42ee2f5318d6ad1;hpb=ded6adaa0ad1bdb311f013c1e94d7c5582b228db diff --git a/cinelerra-5.1/build/bld_package.sh b/cinelerra-5.1/build/bld_package.sh deleted file mode 100755 index 5aa2a14b..00000000 --- a/cinelerra-5.1/build/bld_package.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash - -if [ $# -ne 2 ]; then - echo "usage: $0 " - echo " os = centos | fedora | ubuntu | suse" - echo " typ = static | dynamic" - exit 1 -fi - -dir="$1" -path="/home" -bld="google_code" -proj="cinelerra" -base="cinelerra-4.6.mod" - -centos="centos-7.0-1406" -fedora="fedora-21" -suse="opensuse-13.2" -ubuntu="ubuntu-14.04.1" - -eval os="\${$dir}" -if [ -z "$os" ]; then - echo "unknown os: $dir" -fi - -if [ ! -d "$path/$dir/$bld/$proj/$base" ]; then - echo "missing $bld/$proj/$base in $path/$dir" - exit 1 -fi - -typ=$2 -sfx=`uname -m` -if [ "$typ" = "static" ]; then - sfx="$sfx-static" -elif [ "$typ" != "dynamic" ]; then - echo "err: suffix must be [static | dynamic]" - exit 1 -fi - -cd "$path/$dir/$bld/$proj/$base" -tar -C bin -cJf "../$base-$os-$sfx.txz" . -rm -f "$path/$dir/$base-$os-$sfx.txz" -mv "../$base-$os-$sfx.txz" "$path/$dir/." -