From 6025c6e8e69344bce9abd92df314bb13dbf1bc6f Mon Sep 17 00:00:00 2001 From: milisman <milisarge@gmail.com> Date: Wed, 2 Nov 2016 01:14:32 +0200 Subject: [PATCH] libmad.ye-paketlendi. --- talimatname/genel/libmad/mad.pc | 11 +++++++++++ talimatname/genel/libmad/talimat | 20 +++++--------------- 2 files changed, 16 insertions(+), 15 deletions(-) create mode 100644 talimatname/genel/libmad/mad.pc diff --git a/talimatname/genel/libmad/mad.pc b/talimatname/genel/libmad/mad.pc new file mode 100644 index 000000000..2adebe064 --- /dev/null +++ b/talimatname/genel/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: 0.15.1b +Libs: -L${libdir} -lmad +Cflags: -I${includedir} diff --git a/talimatname/genel/libmad/talimat b/talimatname/genel/libmad/talimat index 3992036de..43ea49ec8 100644 --- a/talimatname/genel/libmad/talimat +++ b/talimatname/genel/libmad/talimat @@ -1,14 +1,15 @@ # Description: A high-quality MPEG audio decoder # URL: http://www.underbit.com/products/mad/ -# Packager: pierre at nutyx dot org +# Packager: milisarge # Depends on: name=libmad version=0.15.1b -release=1 +release=2 source=(ftp://ftp.mars.org/pub/mpeg/$name-$version.tar.gz\ - http://www.linuxfromscratch.org/patches/blfs/svn/libmad-$version-fixes-1.patch) + http://www.linuxfromscratch.org/patches/blfs/svn/libmad-$version-fixes-1.patch + mad.pc) build() { @@ -22,18 +23,7 @@ build() { 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 +install -Dm644 $SRC/mad.pc $PKG/usr/lib/pkgconfig/mad.pc -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 }