Changeset 22537


Ignore:
Timestamp:
2010-07-31T23:54:16+12:00 (12 years ago)
Author:
max
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/video/trunk/build-srcpack/packages/CASCADE-MAKE/MEDIAINFO.sh

    r22517 r22537  
    1010prefix=$GEXTVIDEO_INSTALLED
    1111
    12 opt_run_untar $force_untar $auto_untar $package $version .tar.bz2
     12opt_run_untar $force_untar $auto_untar $package $version ".tar.bz2"
    1313
    1414#opt_run_configure $force_config $auto_config $package $version "$prefix" \
     
    1919#opt_run_make $distclean $package $version "distclean"
    2020
    21 # Run an automatic script that will compile MediaInfo with the dependencies
    22 cd $package$version
    23 echo Launching the MediaInfo automatic script CLI_Compile.sh
    24 ./CLI_Compile.sh
    25 cd MediaInfo/Project/GNU/CLI
    26 # Copy the static executable to the installed bin directory
    27 cp -p mediainfo $GEXTVIDEO_INSTALLED/bin
     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
    2851
    2952
    3053opt_run_tarclean $tarclean $package $version
    31 
Note: See TracChangeset for help on using the changeset viewer.