2007-06-25 18:02:42 +10:00
|
|
|
# Description: Library for encoding MPEG content.
|
|
|
|
# URL: http://fame.sourceforge.net/
|
2008-03-26 13:45:31 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2007-06-25 18:02:42 +10:00
|
|
|
# Packager: Martin Opel, mo at obbl-net dot de
|
|
|
|
# Depends on:
|
|
|
|
|
|
|
|
name=libfame
|
|
|
|
version=0.9.1
|
2008-08-03 01:10:16 +10:00
|
|
|
release=2
|
2009-07-09 19:11:49 +10:00
|
|
|
source=(http://downloads.sourceforge.net/sourceforge/fame/libfame-$version.tar.gz
|
2008-08-03 01:10:16 +10:00
|
|
|
$name-$version-m4.patch
|
|
|
|
$name-$version-gcc-version-check.patch
|
|
|
|
$name-$version-mmx.patch
|
|
|
|
$name-$version-mmx-pic.patch
|
|
|
|
$name-$version-fame_motion_pmvfast.c.patch
|
|
|
|
$name-$version-missing-includes.patch
|
|
|
|
$name-$version-ptr-null-check.patch)
|
2007-06-25 18:02:42 +10:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd libfame-$version
|
2008-08-02 07:23:21 +10:00
|
|
|
patch -p 1 -i $SRC/$name-$version-m4.patch
|
2008-08-03 01:10:16 +10:00
|
|
|
patch -p 1 -i $SRC/$name-$version-gcc-version-check.patch
|
|
|
|
patch -p 1 -i $SRC/$name-$version-mmx.patch
|
|
|
|
patch -p 1 -i $SRC/$name-$version-mmx-pic.patch
|
|
|
|
patch -p 1 -i $SRC/$name-$version-fame_motion_pmvfast.c.patch
|
|
|
|
patch -p 1 -i $SRC/$name-$version-missing-includes.patch
|
|
|
|
patch -p 1 -i $SRC/$name-$version-ptr-null-check.patch
|
2007-06-25 18:02:42 +10:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-static
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|
|
|
|
|