Last change
on this file since 18951 was 18951, checked in by davidb, 15 years ago |
Further iteration of scripts to compile up necessary support packages for video extension
|
File size:
1.3 KB
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | package=faac
|
---|
4 | version=-1.26
|
---|
5 |
|
---|
6 | progname=$0
|
---|
7 |
|
---|
8 | source ../../cascade-make/bin/script/test-setup.bash
|
---|
9 | source ../../cascade-make/lib/cascade-lib.bash
|
---|
10 |
|
---|
11 | prefix=$GEXTVIDEO_INSTALLED/$GSDLOS
|
---|
12 |
|
---|
13 |
|
---|
14 | if [ $force_configure ] ; then
|
---|
15 | echo "*****"
|
---|
16 | echo "Assuming you have untarred faac-1.25.tar.gz and run 'dos2unix' on *.in"
|
---|
17 | echo "*****"
|
---|
18 | sleep 3
|
---|
19 | fi
|
---|
20 |
|
---|
21 | opt_run_untar $force_untar $auto_untar $package $version
|
---|
22 | if [ -d $package ] ; then
|
---|
23 | echo "Moving $package -> $package$version"
|
---|
24 | /bin/mv $package $package$version
|
---|
25 | fi
|
---|
26 |
|
---|
27 |
|
---|
28 | # Need own customized configure
|
---|
29 | if [ $force_config = "1" ] ; then
|
---|
30 | echo "[pushd $package$version]"
|
---|
31 | ( cd $package$version ; \
|
---|
32 | ./bootstrap
|
---|
33 | echo ./configure --prefix=$prefix --with-mp4v2 ; \
|
---|
34 | ./configure --prefix=$prefix --with-mp4v2 )
|
---|
35 | if [ $? != 0 ] ; then
|
---|
36 | echo " Error encountered running *configure* stage of $progname"
|
---|
37 | exit 1
|
---|
38 | fi
|
---|
39 | echo "[popd]"
|
---|
40 | else
|
---|
41 | if [ $auto_config = "1" ] ; then
|
---|
42 | echo "Found top-level for ${progname%.*} => no need to run ./configure"
|
---|
43 | fi
|
---|
44 | fi
|
---|
45 |
|
---|
46 |
|
---|
47 | #opt_run_configure $force_config $auto_config $package $version "$prefix" \
|
---|
48 | # --with-mp4v2
|
---|
49 |
|
---|
50 | opt_run_make $compile $package $version
|
---|
51 | opt_run_make $install $package $version "install"
|
---|
52 | opt_run_make $clean $package $version "clean"
|
---|
53 | opt_run_make $distclean $package $version "distclean"
|
---|
54 |
|
---|
55 | opt_run_tarclean $tarclean $package $version
|
---|
56 |
|
---|
57 |
|
---|
58 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.