diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2008-04-08 12:31:05 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2008-04-08 12:31:05 +0000 |
commit | c6ec69a299dcd1d092cc3fe98860b26470cc897b (patch) | |
tree | 83cfecf71b7d6a253a1db8b5420532f2fbfdecc2 | |
parent | 83a42a93a228f888786dc6aa5151441cdbd96b18 (diff) |
libid3tag: add pkg-config support (from Debian) - merged from Poky
-rw-r--r-- | packages/libid3tag/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/libid3tag/files/id3tag.pc | 11 | ||||
-rw-r--r-- | packages/libid3tag/libid3tag_0.15.1b.bb | 12 |
3 files changed, 20 insertions, 3 deletions
diff --git a/packages/libid3tag/files/.mtn2git_empty b/packages/libid3tag/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/libid3tag/files/.mtn2git_empty diff --git a/packages/libid3tag/files/id3tag.pc b/packages/libid3tag/files/id3tag.pc new file mode 100644 index 0000000000..e686000689 --- /dev/null +++ b/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/packages/libid3tag/libid3tag_0.15.1b.bb b/packages/libid3tag/libid3tag_0.15.1b.bb index c093ea5310..c9f4a0c0ba 100644 --- a/packages/libid3tag/libid3tag_0.15.1b.bb +++ b/packages/libid3tag/libid3tag_0.15.1b.bb @@ -1,17 +1,23 @@ -DESCRIPTION = "Library for interacting with ID3 tags." SECTION = "libs" PRIORITY = "optional" DEPENDS = "zlib" +DESCRIPTION = "Library for interacting with ID3 tags." LICENSE = "GPL" PR = "r1" -SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libid3tag-${PV}.tar.gz" +SRC_URI = "ftp://ftp.mars.org/pub/mpeg/libid3tag-${PV}.tar.gz \ + file://id3tag.pc" + S = "${WORKDIR}/libid3tag-${PV}" inherit autotools pkgconfig EXTRA_OECONF = "-enable-speed" +do_configure_prepend() { + install -m 0644 ${WORKDIR}/id3tag.pc ${S} +} do_stage() { - autotools_stage_all + oe_libinstall -so libid3tag ${STAGING_LIBDIR} + install -m 0644 id3tag.h ${STAGING_INCDIR} } |