summaryrefslogtreecommitdiffstats
path: root/base/libmad/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/libmad/Pkgfile')
-rwxr-xr-xbase/libmad/Pkgfile36
1 files changed, 0 insertions, 36 deletions
diff --git a/base/libmad/Pkgfile b/base/libmad/Pkgfile
deleted file mode 100755
index 8ffe19563..000000000
--- a/base/libmad/Pkgfile
+++ /dev/null
@@ -1,36 +0,0 @@
-# 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
-}