Last change
on this file since 21171 was 21171, checked in by davidb, 14 years ago |
No longer have 'installed' at the top-level
|
File size:
1.1 KB
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | package=faad2
|
---|
4 | version=-2.6.1
|
---|
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
|
---|
12 |
|
---|
13 |
|
---|
14 | opt_run_untar $force_untar $auto_untar $package $version
|
---|
15 | if [ -d $package ] ; then
|
---|
16 | echo "Moving $package -> $package$version"
|
---|
17 | /bin/mv $package $package$version
|
---|
18 | fi
|
---|
19 |
|
---|
20 |
|
---|
21 | # Need own customized configure
|
---|
22 | if [ $force_config = "1" ] ; then
|
---|
23 | echo "[pushd $package$version]"
|
---|
24 | ( cd $package$version ; \
|
---|
25 | autoreconf -vif
|
---|
26 | echo ./configure --prefix=$prefix ; \
|
---|
27 | ./configure --prefix=$prefix )
|
---|
28 | if [ $? != 0 ] ; then
|
---|
29 | echo " Error encountered running *configure* stage of $progname"
|
---|
30 | exit 1
|
---|
31 | fi
|
---|
32 | echo "[popd]"
|
---|
33 | else
|
---|
34 | if [ $auto_config = "1" ] ; then
|
---|
35 | echo "Found top-level for ${progname%.*} => no need to run ./configure"
|
---|
36 | fi
|
---|
37 | fi
|
---|
38 |
|
---|
39 | opt_run_make $compile $package $version
|
---|
40 | opt_run_make $install $package $version "install"
|
---|
41 | opt_run_make $clean $package $version "clean"
|
---|
42 | opt_run_make $distclean $package $version "distclean"
|
---|
43 |
|
---|
44 | opt_run_tarclean $tarclean $package $version
|
---|
45 |
|
---|
46 |
|
---|
47 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.