diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2012-05-28 00:20:13 +1000 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2012-05-28 00:20:13 +1000 |
commit | 5cc2ddf87da545de52b578fd6709523713913330 (patch) | |
tree | 1d9e23d5ce69fcd1e4c8bdfcce796fdd8150f44d | |
parent | edc340c1cbb0b090c5e4784a427928841eef4771 (diff) | |
download | contrib-5cc2ddf87da545de52b578fd6709523713913330.tar.gz contrib-5cc2ddf87da545de52b578fd6709523713913330.tar.xz |
libmad: opt -> contrib, picked up orphaned port
-rw-r--r-- | libmad/.footprint | 11 | ||||
-rw-r--r-- | libmad/.md5sum | 2 | ||||
-rw-r--r-- | libmad/Pkgfile | 24 | ||||
-rw-r--r-- | libmad/mad.pc | 11 |
4 files changed, 48 insertions, 0 deletions
diff --git a/libmad/.footprint b/libmad/.footprint new file mode 100644 index 000000000..0325aa9ae --- /dev/null +++ b/libmad/.footprint @@ -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/libmad/.md5sum b/libmad/.md5sum new file mode 100644 index 000000000..8d572ceed --- /dev/null +++ b/libmad/.md5sum @@ -0,0 +1,2 @@ +1be543bc30c56fb6bea1d7bf6a64e66c libmad-0.15.1b.tar.gz +1cef30792b753edc633e5a0122897e59 mad.pc 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 +} diff --git a/libmad/mad.pc b/libmad/mad.pc new file mode 100644 index 000000000..1331ce325 --- /dev/null +++ b/libmad/mad.pc @@ -0,0 +1,11 @@ +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 -lm +Cflags: -I${includedir} |