pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio Add a pkgconfig config file. Some other package...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1e35948fc238
branches:  trunk
changeset: 464877:1e35948fc238
user:      simonb <simonb%pkgsrc.org@localhost>
date:      Wed Dec 17 03:23:45 2003 +0000

description:
Add a pkgconfig config file.  Some other packages require these.

diffstat:

 audio/libid3tag/Makefile           |  13 ++++++++++++-
 audio/libid3tag/PLIST              |   3 ++-
 audio/libid3tag/files/id3tag.pc.in |  11 +++++++++++
 audio/libmad/Makefile              |  12 +++++++++++-
 audio/libmad/PLIST                 |   3 ++-
 audio/libmad/files/mad.pc.in       |  11 +++++++++++
 6 files changed, 49 insertions(+), 4 deletions(-)

diffs (112 lines):

diff -r 603faf8f0926 -r 1e35948fc238 audio/libid3tag/Makefile
--- a/audio/libid3tag/Makefile  Wed Dec 17 03:10:42 2003 +0000
+++ b/audio/libid3tag/Makefile  Wed Dec 17 03:23:45 2003 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2003/07/17 21:22:40 grant Exp $
+# $NetBSD: Makefile,v 1.6 2003/12/17 03:23:46 simonb Exp $
 #
 
 DISTNAME=      libid3tag-0.15.0b
+PKGREVISION=   1
 CATEGORIES=    audio
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=mad/} \
                ftp://ftp.mars.org/pub/mpeg/
@@ -17,5 +18,15 @@
 USE_LIBTOOL=           YES
 LIBTOOL_OVERRIDE=      ${WRKSRC}/libtool
 
+post-build:
+       ${SED}  -e 's,@PREFIX@,${PREFIX},g'                     \
+               -e 's,@VERSION@,${PKGVERSION},g'                \
+               < ${FILESDIR}/id3tag.pc.in > ${WRKDIR}/id3tag.pc
+
+post-install:
+       ${INSTALL_DATA} ${WRKDIR}/id3tag.pc ${PREFIX}/lib/pkgconfig
+
+
+.include "../../devel/pkgconfig/buildlink2.mk"
 .include "../../devel/zlib/buildlink2.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 603faf8f0926 -r 1e35948fc238 audio/libid3tag/PLIST
--- a/audio/libid3tag/PLIST     Wed Dec 17 03:10:42 2003 +0000
+++ b/audio/libid3tag/PLIST     Wed Dec 17 03:23:45 2003 +0000
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/10 08:33:10 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2003/12/17 03:23:46 simonb Exp $
 include/id3tag.h
 lib/libid3tag.a
 lib/libid3tag.la
 lib/libid3tag.so
 lib/libid3tag.so.2
 lib/libid3tag.so.2.0
+lib/pkgconfig/id3tag.pc
diff -r 603faf8f0926 -r 1e35948fc238 audio/libid3tag/files/id3tag.pc.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libid3tag/files/id3tag.pc.in        Wed Dec 17 03:23:45 2003 +0000
@@ -0,0 +1,11 @@
+prefix=@PREFIX@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: id3tag
+Description: ID3 tag library
+Requires:
+Version: @VERSION@
+Libs: -Wl,-R${libdir} -L${libdir} -lid3tag -lz
+Cflags: -I${includedir}
diff -r 603faf8f0926 -r 1e35948fc238 audio/libmad/Makefile
--- a/audio/libmad/Makefile     Wed Dec 17 03:10:42 2003 +0000
+++ b/audio/libmad/Makefile     Wed Dec 17 03:23:45 2003 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2003/07/17 21:22:41 grant Exp $
+# $NetBSD: Makefile,v 1.5 2003/12/17 03:23:45 simonb Exp $
 #
 
 DISTNAME=      libmad-0.15.0b
+PKGREVISION=   1
 CATEGORIES=    audio
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=mad/} \
                ftp://ftp.mars.org/pub/mpeg/
@@ -17,4 +18,13 @@
 USE_LIBTOOL=           YES
 LIBTOOL_OVERRIDE=      ${WRKSRC}/libtool
 
+post-build:
+       ${SED}  -e 's,@PREFIX@,${PREFIX},g'                     \
+               -e 's,@VERSION@,${PKGVERSION},g'                \
+               < ${FILESDIR}/mad.pc.in > ${WRKDIR}/mad.pc
+
+post-install:
+       ${INSTALL_DATA} ${WRKDIR}/mad.pc ${PREFIX}/lib/pkgconfig
+
+.include "../../devel/pkgconfig/buildlink2.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 603faf8f0926 -r 1e35948fc238 audio/libmad/PLIST
--- a/audio/libmad/PLIST        Wed Dec 17 03:10:42 2003 +0000
+++ b/audio/libmad/PLIST        Wed Dec 17 03:23:45 2003 +0000
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/10 08:21:44 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2003/12/17 03:23:45 simonb Exp $
 include/mad.h
 lib/libmad.a
 lib/libmad.la
 lib/libmad.so
 lib/libmad.so.2
 lib/libmad.so.2.0
+lib/pkgconfig/mad.pc
diff -r 603faf8f0926 -r 1e35948fc238 audio/libmad/files/mad.pc.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libmad/files/mad.pc.in      Wed Dec 17 03:23:45 2003 +0000
@@ -0,0 +1,11 @@
+prefix=@PREFIX@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: mad
+Description: MPEG Audio Decoder
+Requires:
+Version: @VERSION@
+Libs: -Wl,-R${libdir} -L${libdir} -lmad -lm
+Cflags: -I${includedir}



Home | Main Index | Thread Index | Old Index