install a pkg-config file; from Tim van der Molen <tbvdm@xs4all.nl>
This commit is contained in:
parent
5fea18a48d
commit
464df5a054
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2009/06/04 18:03:13 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2009/07/20 15:36:19 naddy Exp $
|
||||
|
||||
COMMENT= library for reading ID3 tags
|
||||
|
||||
DISTNAME= libid3tag-0.15.1b
|
||||
PKGNAME= ${DISTNAME}p2
|
||||
PKGNAME= ${DISTNAME}p3
|
||||
SHARED_LIBS += id3tag 4.0 # .3.0
|
||||
|
||||
CATEGORIES= audio
|
||||
@ -29,4 +29,11 @@ SEPARATE_BUILD= simple
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
|
||||
|
||||
post-patch:
|
||||
cp ${FILESDIR}/id3tag.pc.in ${WRKSRC}
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig
|
||||
${INSTALL_DATA} ${WRKBUILD}/id3tag.pc ${PREFIX}/lib/pkgconfig
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
15
audio/libid3tag/files/id3tag.pc.in
Normal file
15
audio/libid3tag/files/id3tag.pc.in
Normal file
@ -0,0 +1,15 @@
|
||||
# $OpenBSD: id3tag.pc.in,v 1.1 2009/07/20 15:36:19 naddy Exp $
|
||||
# libid3tag pkg-config source file
|
||||
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: id3tag
|
||||
Description: ID3 tag reading library
|
||||
Version: @VERSION@
|
||||
Requires:
|
||||
Conflicts:
|
||||
Libs: -L${libdir} -lid3tag -lz
|
||||
Cflags: -I${includedir}
|
12
audio/libid3tag/patches/patch-configure
Normal file
12
audio/libid3tag/patches/patch-configure
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-configure,v 1.1 2009/07/20 15:36:19 naddy Exp $
|
||||
--- configure.orig Thu Feb 5 10:35:25 2004
|
||||
+++ configure Mon Jun 22 17:34:37 2009
|
||||
@@ -20017,7 +20017,7 @@ test -n "$optimize" && CFLAGS="$CFLAGS $optimize"
|
||||
test -n "$profile" && CFLAGS="$CFLAGS $profile" LDFLAGS="$LDFLAGS $profile"
|
||||
|
||||
|
||||
- ac_config_files="$ac_config_files Makefile msvc++/Makefile libid3tag.list"
|
||||
+ ac_config_files="$ac_config_files Makefile msvc++/Makefile libid3tag.list id3tag.pc"
|
||||
|
||||
cat >confcache <<\_ACEOF
|
||||
# This file is a shell script that caches the results of configure
|
@ -1,6 +1,8 @@
|
||||
@comment $OpenBSD: PLIST,v 1.3 2004/09/18 10:26:55 espie Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.4 2009/07/20 15:36:19 naddy Exp $
|
||||
@conflict mad-*
|
||||
%%SHARED%%
|
||||
include/id3tag.h
|
||||
lib/libid3tag.a
|
||||
lib/libid3tag.la
|
||||
%%SHARED%%
|
||||
lib/pkgconfig/
|
||||
lib/pkgconfig/id3tag.pc
|
||||
|
Loading…
Reference in New Issue
Block a user