source: gs2-extensions/video/trunk/build-srcpack/packages/CASCADE-MAKE/FAAD2.sh@ 22261

Last change on this file since 22261 was 22261, checked in by davidb, 14 years ago

Modifications necessary to compile under MinGW

File size: 1.0 KB
Line 
1#!/bin/bash
2
3package=faad2
4version=-2.6.1-mingw
5
6progname=$0
7
8source ../../cascade-make/lib/cascade-lib.bash
9
10prefix=$GEXTVIDEO_INSTALLED
11
12
13opt_run_untar $force_untar $auto_untar $package $version
14if [ -d $package ] ; then
15 echo "Moving $package -> $package$version"
16 /bin/mv $package $package$version
17fi
18
19
20# Need own customized configure
21if [ $force_config = "1" ] ; then
22 echo "[pushd $package$version]"
23 ( cd $package$version ;
24# autoreconf -vif
25 echo ./configure --prefix=$prefix ;
26 ./configure --prefix=$prefix )
27 if [ $? != 0 ] ; then
28 echo " Error encountered running *configure* stage of $progname"
29 exit 1
30 fi
31 echo "[popd]"
32else
33 if [ $auto_config = "1" ] ; then
34 echo "Found top-level for ${progname%.*} => no need to run ./configure"
35 fi
36fi
37
38opt_run_make $compile $package $version
39opt_run_make $install $package $version "install"
40opt_run_make $clean $package $version "clean"
41opt_run_make $distclean $package $version "distclean"
42
43opt_run_tarclean $tarclean $package $version
44
45
46
Note: See TracBrowser for help on using the repository browser.