summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-01-11 16:08:07 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-01-11 16:08:07 +0000
commit4da5771577fc6424039bb4ef767d98dbc860888b (patch)
tree0d94431abf852e0dce8851383ba35d0e0d97f95f /meta/packages
parentd56b65fcbdcf6c71e9d42cb0c6427c1b853083ac (diff)
downloadpoky-4da5771577fc6424039bb4ef767d98dbc860888b.tar.gz
libid3tag: add pkg-config support (from Debian)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3467 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/libid3tag/files/id3tag.pc11
-rw-r--r--meta/packages/libid3tag/libid3tag_0.15.1b.bb10
2 files changed, 19 insertions, 2 deletions
diff --git a/meta/packages/libid3tag/files/id3tag.pc b/meta/packages/libid3tag/files/id3tag.pc
new file mode 100644
index 0000000000..e686000689
--- /dev/null
+++ b/meta/packages/libid3tag/files/id3tag.pc
@@ -0,0 +1,11 @@
1prefix=/usr
2exec_prefix=${prefix}
3libdir=${exec_prefix}/lib
4includedir=${prefix}/include
5
6Name: id3tag
7Description: ID3 tag reading library
8Requires:
9Version: 0.15.0b
10Libs: -L${libdir} -lid3tag -lz
11Cflags: -I${includedir}
diff --git a/meta/packages/libid3tag/libid3tag_0.15.1b.bb b/meta/packages/libid3tag/libid3tag_0.15.1b.bb
index 21f2c0f41d..c9f4a0c0ba 100644
--- a/meta/packages/libid3tag/libid3tag_0.15.1b.bb
+++ b/meta/packages/libid3tag/libid3tag_0.15.1b.bb
@@ -3,14 +3,20 @@ PRIORITY = "optional"
3DEPENDS = "zlib" 3DEPENDS = "zlib"
4DESCRIPTION = "Library for interacting with ID3 tags." 4DESCRIPTION = "Library for interacting with ID3 tags."
5LICENSE = "GPL" 5LICENSE = "GPL"
6PR = "r1"
7
8SRC_URI = "ftp://ftp.mars.org/pub/mpeg/libid3tag-${PV}.tar.gz \
9 file://id3tag.pc"
6 10
7SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libid3tag-${PV}.tar.gz"
8S = "${WORKDIR}/libid3tag-${PV}" 11S = "${WORKDIR}/libid3tag-${PV}"
9 12
10inherit autotools 13inherit autotools pkgconfig
11 14
12EXTRA_OECONF = "-enable-speed" 15EXTRA_OECONF = "-enable-speed"
13 16
17do_configure_prepend() {
18 install -m 0644 ${WORKDIR}/id3tag.pc ${S}
19}
14do_stage() { 20do_stage() {
15 oe_libinstall -so libid3tag ${STAGING_LIBDIR} 21 oe_libinstall -so libid3tag ${STAGING_LIBDIR}
16 install -m 0644 id3tag.h ${STAGING_INCDIR} 22 install -m 0644 id3tag.h ${STAGING_INCDIR}