diff options
-rw-r--r-- | meta/packages/libid3tag/files/id3tag.pc | 11 | ||||
-rw-r--r-- | meta/packages/libid3tag/libid3tag_0.15.0b.bb | 11 |
2 files changed, 19 insertions, 3 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 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=${exec_prefix}/lib | ||
4 | includedir=${prefix}/include | ||
5 | |||
6 | Name: id3tag | ||
7 | Description: ID3 tag reading library | ||
8 | Requires: | ||
9 | Version: 0.15.0b | ||
10 | Libs: -L${libdir} -lid3tag -lz | ||
11 | Cflags: -I${includedir} | ||
diff --git a/meta/packages/libid3tag/libid3tag_0.15.0b.bb b/meta/packages/libid3tag/libid3tag_0.15.0b.bb index 840c7f8ae7..8b078d63e7 100644 --- a/meta/packages/libid3tag/libid3tag_0.15.0b.bb +++ b/meta/packages/libid3tag/libid3tag_0.15.0b.bb | |||
@@ -3,15 +3,20 @@ PRIORITY = "optional" | |||
3 | DEPENDS = "zlib" | 3 | DEPENDS = "zlib" |
4 | DESCRIPTION = "Library for interacting with ID3 tags." | 4 | DESCRIPTION = "Library for interacting with ID3 tags." |
5 | LICENSE = "GPL" | 5 | LICENSE = "GPL" |
6 | PR = "r2" | 6 | PR = "r3" |
7 | |||
8 | SRC_URI = "ftp://ftp.mars.org/pub/mpeg/libid3tag-${PV}.tar.gz \ | ||
9 | file://id3tag.pc" | ||
7 | 10 | ||
8 | SRC_URI = "ftp://ftp.mars.org/pub/mpeg/libid3tag-${PV}.tar.gz " | ||
9 | S = "${WORKDIR}/libid3tag-${PV}" | 11 | S = "${WORKDIR}/libid3tag-${PV}" |
10 | 12 | ||
11 | inherit autotools | 13 | inherit autotools pkgconfig |
12 | 14 | ||
13 | EXTRA_OECONF = "-enable-speed" | 15 | EXTRA_OECONF = "-enable-speed" |
14 | 16 | ||
17 | do_configure_prepend() { | ||
18 | install -m 0644 ${WORKDIR}/id3tag.pc ${S} | ||
19 | } | ||
15 | do_stage() { | 20 | do_stage() { |
16 | oe_libinstall -so libid3tag ${STAGING_LIBDIR} | 21 | oe_libinstall -so libid3tag ${STAGING_LIBDIR} |
17 | install -m 0644 id3tag.h ${STAGING_INCDIR} | 22 | install -m 0644 id3tag.h ${STAGING_INCDIR} |