diff options
Diffstat (limited to 'libmad/Pkgfile')
-rw-r--r-- | libmad/Pkgfile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libmad/Pkgfile b/libmad/Pkgfile new file mode 100644 index 000000000..aeed3ede5 --- /dev/null +++ b/libmad/Pkgfile @@ -0,0 +1,24 @@ +# Description: High-quality MPEG Audio Decoder library. +# URL: http://www.underbit.com/products/mad/ +# Maintainer: Danny Rawlins, monster dot romster at gmail dot com +# Packager: Rene Thuemmler, rene dot thuemmler at gmx dot net + +name=libmad +version=0.15.1b +release=4 +source=(http://downloads.sourceforge.net/project/mad/$name/$version/$name-$version.tar.gz + mad.pc) + +build() { + install -d $PKG/usr/lib/pkgconfig + sed -e "s/#version#/$version/" mad.pc > $PKG/usr/lib/pkgconfig/mad.pc + + cd $name-$version + + # remove -fforce-mem + sed -i -e '19102d' configure + + ./configure --prefix=/usr + make + make DESTDIR=$PKG install +} |