diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-01-11 16:08:07 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-01-11 16:08:07 +0000 |
commit | 4da5771577fc6424039bb4ef767d98dbc860888b (patch) | |
tree | 0d94431abf852e0dce8851383ba35d0e0d97f95f | |
parent | d56b65fcbdcf6c71e9d42cb0c6427c1b853083ac (diff) | |
download | openembedded-core-4da5771577fc6424039bb4ef767d98dbc860888b.tar.gz openembedded-core-4da5771577fc6424039bb4ef767d98dbc860888b.tar.bz2 openembedded-core-4da5771577fc6424039bb4ef767d98dbc860888b.tar.xz openembedded-core-4da5771577fc6424039bb4ef767d98dbc860888b.zip |
libid3tag: add pkg-config support (from Debian)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3467 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta/packages/libid3tag/files/id3tag.pc | 11 | ||||
-rw-r--r-- | meta/packages/libid3tag/libid3tag_0.15.1b.bb | 10 |
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 000000000..e68600068 --- /dev/null +++ b/meta/packages/libid3tag/files/id3tag.pc @@ -0,0 +1,11 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: id3tag +Description: ID3 tag reading library +Requires: +Version: 0.15.0b +Libs: -L${libdir} -lid3tag -lz +Cflags: -I${includedir} diff --git a/meta/packages/libid3tag/libid3tag_0.15.1b.bb b/meta/packages/libid3tag/libid3tag_0.15.1b.bb index 21f2c0f41..c9f4a0c0b 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" DEPENDS = "zlib" DESCRIPTION = "Library for interacting with ID3 tags." LICENSE = "GPL" +PR = "r1" + +SRC_URI = "ftp://ftp.mars.org/pub/mpeg/libid3tag-${PV}.tar.gz \ + file://id3tag.pc" -SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libid3tag-${PV}.tar.gz" S = "${WORKDIR}/libid3tag-${PV}" -inherit autotools +inherit autotools pkgconfig EXTRA_OECONF = "-enable-speed" +do_configure_prepend() { + install -m 0644 ${WORKDIR}/id3tag.pc ${S} +} do_stage() { oe_libinstall -so libid3tag ${STAGING_LIBDIR} install -m 0644 id3tag.h ${STAGING_INCDIR} |