From d374919b560f6d9eabe1a6d576637cbe1659946e Mon Sep 17 00:00:00 2001 From: tnut Date: Sat, 15 Oct 2011 16:33:24 +0200 Subject: libmad dans extra --- extra/libmad/.footprint.i686 | 11 +++++++++++ extra/libmad/.footprint.x86_64 | 11 +++++++++++ extra/libmad/.md5sum.i686 | 2 ++ extra/libmad/.md5sum.x86_64 | 2 ++ extra/libmad/Pkgfile | 36 ++++++++++++++++++++++++++++++++++++ 5 files changed, 62 insertions(+) create mode 100644 extra/libmad/.footprint.i686 create mode 100644 extra/libmad/.footprint.x86_64 create mode 100644 extra/libmad/.md5sum.i686 create mode 100644 extra/libmad/.md5sum.x86_64 create mode 100755 extra/libmad/Pkgfile (limited to 'extra/libmad') diff --git a/extra/libmad/.footprint.i686 b/extra/libmad/.footprint.i686 new file mode 100644 index 000000000..0325aa9ae --- /dev/null +++ b/extra/libmad/.footprint.i686 @@ -0,0 +1,11 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/mad.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libmad.a +-rwxr-xr-x root/root usr/lib/libmad.la +lrwxrwxrwx root/root usr/lib/libmad.so -> libmad.so.0.2.1 +lrwxrwxrwx root/root usr/lib/libmad.so.0 -> libmad.so.0.2.1 +-rwxr-xr-x root/root usr/lib/libmad.so.0.2.1 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/mad.pc diff --git a/extra/libmad/.footprint.x86_64 b/extra/libmad/.footprint.x86_64 new file mode 100644 index 000000000..0325aa9ae --- /dev/null +++ b/extra/libmad/.footprint.x86_64 @@ -0,0 +1,11 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/mad.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libmad.a +-rwxr-xr-x root/root usr/lib/libmad.la +lrwxrwxrwx root/root usr/lib/libmad.so -> libmad.so.0.2.1 +lrwxrwxrwx root/root usr/lib/libmad.so.0 -> libmad.so.0.2.1 +-rwxr-xr-x root/root usr/lib/libmad.so.0.2.1 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/mad.pc diff --git a/extra/libmad/.md5sum.i686 b/extra/libmad/.md5sum.i686 new file mode 100644 index 000000000..21e2d9857 --- /dev/null +++ b/extra/libmad/.md5sum.i686 @@ -0,0 +1,2 @@ +1be543bc30c56fb6bea1d7bf6a64e66c libmad-0.15.1b.tar.gz +2612dee908a8ab4ceae5c7e552c70ab0 libmad.patch diff --git a/extra/libmad/.md5sum.x86_64 b/extra/libmad/.md5sum.x86_64 new file mode 100644 index 000000000..21e2d9857 --- /dev/null +++ b/extra/libmad/.md5sum.x86_64 @@ -0,0 +1,2 @@ +1be543bc30c56fb6bea1d7bf6a64e66c libmad-0.15.1b.tar.gz +2612dee908a8ab4ceae5c7e552c70ab0 libmad.patch diff --git a/extra/libmad/Pkgfile b/extra/libmad/Pkgfile new file mode 100755 index 000000000..8ffe19563 --- /dev/null +++ b/extra/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 +} -- cgit v1.2.3-70-g09d2