source: extensions/gsdl-video/trunk/packages/cmdline/CASCADE-MAKE/FFKEYFRAME.sh@ 18425

Last change on this file since 18425 was 18425, checked in by davidb, 15 years ago

Video extension to Greenstone

File size: 1.4 KB
RevLine 
[18425]1#!/bin/bash
2
3package=ffkeyframe
4version=-0.1
5
6progname=$0
7
8source ../../bin/script/test-setup.bash
9source ../../lib/cascade-lib.bash
10
11prefix=$GEXTVIDEO_INSTALLED/cmdline
12
13opt_run_untar $force_untar $auto_untar $package $version
14
15### opt_run_configure $force_config $auto_config $package $version "$prefix"
16
17### opt_run_make $compile $package $version
18### opt_run_make $install $package $version "install"
19
20
21
22
23
24#( cd ffkeyframe ; \
25# ./configure --prefix=$GEXTVIDEO_INSTALLED/cmdline --enable-shared --enable-static --enable-swscaler --enable-libmp3lame --enable-liba52 --enable-gpl --enable-libogg --enable-libvorbis --enable-libfaac --enable-libfaad --extra-ldflags=-L$GEXTVIDEO_INSTALLED/cmdline/lib/ --extra-cflags=-I$GEXTVIDEO_INSTALLED/cmdline/include )
26#
27#if [ $? != 0 ] ; then
28# echo " Error encountered running *configure* stage of $progname"
29# exit 1
30#fi
31
32if [ $compile = "1" ] ; then
33 ( cd $package$version ; \
34 make -I ../ffmpeg-jul21-2007 allhive)
35
36 if [ $? != 0 ] ; then
37 echo " Error encountered running *make* stage of $progname"
38 exit 1
39 fi
40fi
41
42
43if [ $install = "1" ] ; then
44 ( cd $package$version ; \
45 make -I ../ffmpeg-jul21-2007 install-hive )
46
47 if [ $? != 0 ] ; then
48 echo " Error encountered running *install* stage of $progname"
49 exit 1
50 fi
51fi
52
53
54opt_run_make $clean $package $version "hiveclean"
55opt_run_make $distclean $package $version "hivedistclean"
56
57opt_run_tarclean $tarclean $package $version
Note: See TracBrowser for help on using the repository browser.