source: gs2-extensions/ocr/trunk/packages/cmdline/CASCADE-MAKE/FFMPEG.sh@ 30198

Last change on this file since 30198 was 30198, checked in by davidb, 9 years ago

Additional packages thanks to Zach's hard work improving OCR

  • Property svn:executable set to *
File size: 771 bytes
Line 
1#!/bin/bash
2
3package=ffmpeg
4version=-2.7.2
5
6progname=$0
7
8source ../../bin/script/test-setup.bash
9source ../../lib/cascade-lib.bash
10
11prefix=$GEXTOCR_INSTALLED/cmdline
12
13export PKG_CONFIG_PATH=$prefix/lib/pkgconfig
14
15export CFLAGS="-I$prefix/include"
16export LDFLAGS=-L$prefix/lib
17
18opt_run_untar $force_untar $auto_untar $package $version
19opt_run_configure $force_config $auto_config $package $version "$prefix" \
20 "--enable-shared --disable-static \
21 --disable-ffserver --enable-pic"
22
23# "--disable-shared --enable-static \
24
25opt_run_make $compile $package $version
26opt_run_make $install $package $version "install"
27opt_run_make $clean $package $version "clean"
28opt_run_make $distclean $package $version "distclean"
29
30opt_run_tarclean $tarclean $package $version
31
32
Note: See TracBrowser for help on using the repository browser.