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 |
|
---|
3 | package=faad2
|
---|
4 | version=-2.6.1-mingw
|
---|
5 |
|
---|
6 | progname=$0
|
---|
7 |
|
---|
8 | source ../../cascade-make/lib/cascade-lib.bash
|
---|
9 |
|
---|
10 | prefix=$GEXTVIDEO_INSTALLED
|
---|
11 |
|
---|
12 |
|
---|
13 | opt_run_untar $force_untar $auto_untar $package $version
|
---|
14 | if [ -d $package ] ; then
|
---|
15 | echo "Moving $package -> $package$version"
|
---|
16 | /bin/mv $package $package$version
|
---|
17 | fi
|
---|
18 |
|
---|
19 |
|
---|
20 | # Need own customized configure
|
---|
21 | if [ $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]"
|
---|
32 | else
|
---|
33 | if [ $auto_config = "1" ] ; then
|
---|
34 | echo "Found top-level for ${progname%.*} => no need to run ./configure"
|
---|
35 | fi
|
---|
36 | fi
|
---|
37 |
|
---|
38 | opt_run_make $compile $package $version
|
---|
39 | opt_run_make $install $package $version "install"
|
---|
40 | opt_run_make $clean $package $version "clean"
|
---|
41 | opt_run_make $distclean $package $version "distclean"
|
---|
42 |
|
---|
43 | opt_run_tarclean $tarclean $package $version
|
---|
44 |
|
---|
45 |
|
---|
46 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.