forked from ports/contrib
37 lines
1.0 KiB
Plaintext
37 lines
1.0 KiB
Plaintext
# Description: Library for encoding MPEG content.
|
|
# URL: http://fame.sourceforge.net/
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: Martin Opel, mo at obbl-net dot de
|
|
# Depends on:
|
|
|
|
name=libfame
|
|
version=0.9.1
|
|
release=2
|
|
source=(http://downloads.sourceforge.net/sourceforge/fame/libfame-$version.tar.gz
|
|
$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)
|
|
|
|
build() {
|
|
cd libfame-$version
|
|
patch -p 1 -i $SRC/$name-$version-m4.patch
|
|
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
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-static
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|
|
|