blob: 51b9e6b4294919aeab2b37c4a39ecd3d6a4aa0ac (
plain)
1 # Description: Library for encoding MPEG content.
2 # URL: http://fame.sourceforge.net/
3 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
4 # Packager: Martin Opel, mo at obbl-net dot de
5 # Depends on:
6
7 name=libfame
8 version=0.9.1
9 release=2
10 source=(http://downloads.sourceforge.net/sourceforge/fame/libfame-$version.tar.gz
11 $name-$version-m4.patch
12 $name-$version-gcc-version-check.patch
13 $name-$version-mmx.patch
14 $name-$version-mmx-pic.patch
15 $name-$version-fame_motion_pmvfast.c.patch
16 $name-$version-missing-includes.patch
17 $name-$version-ptr-null-check.patch)
18
19 build() {
20 cd libfame-$version
21 patch -p 1 -i $SRC/$name-$version-m4.patch
22 patch -p 1 -i $SRC/$name-$version-gcc-version-check.patch
23 patch -p 1 -i $SRC/$name-$version-mmx.patch
24 patch -p 1 -i $SRC/$name-$version-mmx-pic.patch
25 patch -p 1 -i $SRC/$name-$version-fame_motion_pmvfast.c.patch
26 patch -p 1 -i $SRC/$name-$version-missing-includes.patch
27 patch -p 1 -i $SRC/$name-$version-ptr-null-check.patch
28
29 ./configure \
30 --prefix=/usr \
31 --disable-static
32
33 make
34 make DESTDIR=$PKG install
35 }
|