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

Last change on this file since 22537 was 22537, checked in by max, 14 years ago

Update the cascade script for MediaInfo to use the same conventions that with the other tools.

  • Property svn:executable set to *
File size: 1.3 KB
Line 
1#!/bin/bash
2
3package=MediaInfo-CLI
4version=-0.7
5
6progname=$0
7
8source ../../cascade-make/lib/cascade-lib.bash
9
10prefix=$GEXTVIDEO_INSTALLED
11
12opt_run_untar $force_untar $auto_untar $package $version ".tar.bz2"
13
14#opt_run_configure $force_config $auto_config $package $version "$prefix" \
15# "--with-ogg=$prefix"
16#opt_run_make $compile $package $version
17#opt_run_make $install $package $version "install"
18#opt_run_make $clean $package $version "clean"
19#opt_run_make $distclean $package $version "distclean"
20
21
22if [ -d $package$version ] ; then
23 echo "****"
24 echo "* Always (for now) have it run the automatic script for MediaInfo"
25 echo "****"
26
27# Run an automatic script that will configure and compile MediaInfo with the dependencies
28 ( echo "[pushd $package$version]"a ; \
29 cd $package$version ; \
30 ./CLI_Compile.sh )
31
32 if [ $? != 0 ] ; then
33 echo " Error encountered running the automatic script of $progname"
34 exit 1
35 fi
36 echo "[popd]"
37fi
38
39
40if [ $install = "1" ] ; then
41 ( echo "[pushd $package$version]" ; \
42 cd $package$version/MediaInfo/Project/GNU/CLI ; \
43 cp -p mediainfo $GEXTVIDEO_INSTALLED/bin )
44
45 if [ $? != 0 ] ; then
46 echo " Error encountered running *install* stage of $progname"
47 exit 1
48 fi
49 echo "[popd]"
50fi
51
52
53opt_run_tarclean $tarclean $package $version
Note: See TracBrowser for help on using the repository browser.