diff options
author | tnut <tnut at nutyx dot com> | 2012-01-08 12:15:45 +0100 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2012-01-08 12:15:45 +0100 |
commit | 3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch) | |
tree | 819b14ab0377fe2054fe59866669d904e9e0b4b5 /libmad/Pkgfile | |
parent | c9972ec7f32bf9d37388e853fe9bf633e242d05a (diff) | |
download | nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2 nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip |
split de git pakxe et NuTyX-extra
Diffstat (limited to 'libmad/Pkgfile')
-rwxr-xr-x | libmad/Pkgfile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/libmad/Pkgfile b/libmad/Pkgfile new file mode 100755 index 000000000..8ffe19563 --- /dev/null +++ b/libmad/Pkgfile @@ -0,0 +1,36 @@ +# Description: Décodeur MPEG audio de haute qualité +# URL: http://www.underbit.com/products/mad/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch + +name=libmad +version=0.15.1b +release=2 +source=(ftp://ftp.mars.org/pub/mpeg/$name-$version.tar.gz\ + http://nutyx.meticul.eu/files/patchs/$name/libmad.patch) + + +build() { + cd $name-$version + patch -Np1 -i ../libmad.patch + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make + make DESTDIR=$PKG install + mkdir -p $PKG/usr/lib/pkgconfig +cat > $PKG/usr/lib/pkgconfig/mad.pc << "EOF" +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: mad +Description: MPEG audio decoder +Requires: +Version: #version# +Libs: -L${libdir} -lmad +Cflags: -I${includedir} +EOF +sed -i "s/#version#/$version/" $PKG/usr/lib/pkgconfig/mad.pc +} |