[Lunar-commits] <moonbase> libmad: add a patch so it installs a .pc file

Samuel Verstraete elangelo at lunar-linux.org
Mon Aug 4 20:49:12 CEST 2008


commit 15ec42c8e4b3a92d43519c9b567641756b6281fe
Author: Samuel Verstraete <elangelo at lunar-linux.org>
Date:   Mon Aug 4 20:49:12 2008 +0200

    libmad: add a patch so it installs a .pc file
    
    thnx V4hn
---
 audio/libmad/BUILD   |    8 +++++++-
 audio/libmad/DETAILS |    7 +++++--
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/audio/libmad/BUILD b/audio/libmad/BUILD
index f8097ee..95a9e55 100644
--- a/audio/libmad/BUILD
+++ b/audio/libmad/BUILD
@@ -1,7 +1,13 @@
 (
-
   OPTS="$OPTS  --disable-debugging --enable-accuracy"
 
+  patch_it $SOURCE2 1 &&
+  aclocal &&
+  touch NEWS && 
+  touch AUTHORS &&
+  touch ChangeLog &&
+  automake --add-missing &&
+  autoreconf &&
   default_build
 
 ) > $C_FIFO 2>&1
diff --git a/audio/libmad/DETAILS b/audio/libmad/DETAILS
index f43aa06..73d35bc 100644
--- a/audio/libmad/DETAILS
+++ b/audio/libmad/DETAILS
@@ -1,12 +1,15 @@
           MODULE=libmad
          VERSION=0.15.1b
           SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=$MODULE-$VERSION-pkgconfig.patch
    SOURCE_URL[0]=$SFORGE_URL/mad/
    SOURCE_URL[1]=ftp://ftp.mars.org/pub/mpeg/
-      SOURCE_VFY=md5:1be543bc30c56fb6bea1d7bf6a64e66c
+     SOURCE2_URL=$PATCH_URL
+      SOURCE_VFY=sha1:cac19cd00e1a907f3150cc040ccc077783496d76
+     SOURCE2_VFY=sha1:adc8e96c4f36b61394a675d1d6b159e35d9790ad
         WEB_SITE=http://www.underbit.com/products/mad/
          ENTERED=20031204
-         UPDATED=20040218
+         UPDATED=20080804
           SHORT="an MPEG audio decoder library"
 
 cat << EOF


More information about the Lunar-commits mailing list