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
|
|
|
|
|
|
|
|
name=libfame
|
|
|
|
version=0.9.1
|
2012-01-03 18:45:56 +11:00
|
|
|
release=3
|
2011-01-11 01:32:51 +11:00
|
|
|
source=(http://downloads.sourceforge.net/project/fame/$name/$version/$name-$version.tar.gz
|
2012-01-03 18:45:56 +11:00
|
|
|
$name-$version-gcc34-1.patch
|
|
|
|
$name-$version-config_update-1.patch)
|
2007-06-25 18:02:42 +10:00
|
|
|
|
|
|
|
build() {
|
2010-11-13 14:31:40 +11:00
|
|
|
cd $name-$version
|
2012-01-03 18:45:56 +11:00
|
|
|
patch -p 1 -i $SRC/$name-$version-gcc34-1.patch
|
|
|
|
patch -p 1 -i $SRC/$name-$version-config_update-1.patch
|
2007-06-25 18:02:42 +10:00
|
|
|
|
2012-01-03 18:45:56 +11:00
|
|
|
sed -i 's/$CC --version/$CC -dumpversion/' configure
|
|
|
|
unset CC # ccache brakes at library linking stage
|
2007-06-25 18:02:42 +10:00
|
|
|
|
2012-01-03 18:45:56 +11:00
|
|
|
./configure --prefix=/usr
|
2007-06-25 18:02:42 +10:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|