source: gs2-extensions/video-and-audio/trunk/src/build-srcpack/packages/CASCADE-MAKE/FAAC.sh@ 36205

Last change on this file since 36205 was 36205, checked in by davidb, 21 months ago

Tweak to newer version

File size: 1.3 KB
Line 
1#!/bin/bash
2
3package=faac
4#version=-1.26-mingw
5version=-1.29.9.2
6
7progname=$0
8
9source ../../cascade-make/lib/cascade-lib.bash
10
11prefix=$GEXTVIDEO_INSTALLED
12
13
14if [ $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
19fi
20
21opt_run_untar $force_untar $auto_untar $package $version
22if [ -d $package ] ; then
23 echo "Moving $package -> $package$version"
24 /bin/mv $package $package$version
25fi
26
27
28# Need own customized configure
29if [ $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]"
40else
41 if [ $auto_config = "1" ] ; then
42 echo "Found top-level for ${progname%.*} => no need to run ./configure"
43 fi
44fi
45
46
47#opt_run_configure $force_config $auto_config $package $version "$prefix" \
48# --with-mp4v2
49
50opt_run_make $compile $package $version
51opt_run_make $install $package $version "install"
52opt_run_make $clean $package $version "clean"
53opt_run_make $distclean $package $version "distclean"
54
55opt_run_tarclean $tarclean $package $version
56
57
58
Note: See TracBrowser for help on using the repository browser.