diff options
Diffstat (limited to 'meta')
-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 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.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" | |||
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 = "r1" | ||
7 | |||
8 | SRC_URI = "ftp://ftp.mars.org/pub/mpeg/libid3tag-${PV}.tar.gz \ | ||
9 | file://id3tag.pc" | ||
6 | 10 | ||
7 | SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libid3tag-${PV}.tar.gz" | ||
8 | S = "${WORKDIR}/libid3tag-${PV}" | 11 | S = "${WORKDIR}/libid3tag-${PV}" |
9 | 12 | ||
10 | inherit autotools | 13 | inherit autotools pkgconfig |
11 | 14 | ||
12 | EXTRA_OECONF = "-enable-speed" | 15 | EXTRA_OECONF = "-enable-speed" |
13 | 16 | ||
17 | do_configure_prepend() { | ||
18 | install -m 0644 ${WORKDIR}/id3tag.pc ${S} | ||
19 | } | ||
14 | do_stage() { | 20 | do_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} |