summaryrefslogtreecommitdiffstats
path: root/extra/libmad/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-02-02 20:15:24 +0100
committertnut <thierryn1 at hispeed dot ch>2010-02-02 20:15:24 +0100
commit7ab7b078079db0ec8713067bd21d26fb1df8ff62 (patch)
treee68d262f40945e547a793b2475da447a74673248 /extra/libmad/Pkgfile
parentae548101a52d2c728afad7bad76874baa5ffa6e1 (diff)
downloadnutyx-pakxe-7ab7b078079db0ec8713067bd21d26fb1df8ff62.tar.gz
nutyx-pakxe-7ab7b078079db0ec8713067bd21d26fb1df8ff62.tar.bz2
nutyx-pakxe-7ab7b078079db0ec8713067bd21d26fb1df8ff62.tar.xz
nutyx-pakxe-7ab7b078079db0ec8713067bd21d26fb1df8ff62.zip
libmad, déplacé dans base et nettoyage du paquet
Diffstat (limited to 'extra/libmad/Pkgfile')
-rwxr-xr-xextra/libmad/Pkgfile37
1 files changed, 0 insertions, 37 deletions
diff --git a/extra/libmad/Pkgfile b/extra/libmad/Pkgfile
deleted file mode 100755
index 3fc11848b..000000000
--- a/extra/libmad/Pkgfile
+++ /dev/null
@@ -1,37 +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
-# Depends on:
-
-name=libmad
-version=0.15.1b
-release=2
-source=(ftp://ftp.mars.org/pub/mpeg/$name-$version.tar.gz\
- mad.pc libmad.patch)
-
-
-build() {
- mkdir -p $PKG/usr/lib/pkgconfig/
-# sed "s/#version#/$version/" mad.pc > $PKG/usr/lib/pkgconfig/mad.pc
- cd $name-$version
- patch -Np1 -i ../libmad.patch
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info
- make
- make DESTDIR=$PKG install
-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: 0.15.1b
-Libs: -L${libdir} -lmad
-Cflags: -I${includedir}
-EOF
-}