id3lib: add debian patch to fix compilation with gcc 4.3.x
authorKoen Kooi <koen@openembedded.org>
Sun, 14 Sep 2008 18:18:05 +0000 (18:18 +0000)
committerKoen Kooi <koen@openembedded.org>
Sun, 14 Sep 2008 18:18:05 +0000 (18:18 +0000)
packages/id3lib/id3lib_3.8.3.bb

index 76134bc..fa6fc3c 100644 (file)
@@ -3,16 +3,14 @@ SECTION = "libs/multimedia"
 PRIORITY = "optional"
 DEPENDS = "zlib"
 LICENSE = "GPL"
-PR = "r1"
+PR = "r2"
 
 inherit autotools
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/id3lib/id3lib-${PV}.tar.gz"
-S = "${WORKDIR}/id3lib-${PV}"
+SRC_URI = "${SOURCEFORGE_MIRROR}/id3lib/id3lib-${PV}.tar.gz \
+           http://ftp.de.debian.org/debian/pool/main/i/id3lib3.8.3/id3lib3.8.3_3.8.3-7.2.diff.gz;patch=1 \
+          "
 
 do_stage() {
-       oe_libinstall -a -so -C src libid3 ${STAGING_LIBDIR}
-       install -m 0644 include/id3.h ${STAGING_INCDIR}
-       install -d ${STAGING_INCDIR}/id3/
-       install -m 0644 include/id3/*.h ${STAGING_INCDIR}/id3/
+       autotools_stage_all
 }