summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-04-29 20:15:38 +0000
committerKoen Kooi <koen@openembedded.org>2007-04-29 20:15:38 +0000
commita71cb7e0807a5a61c080f092de17ca3bc95d5b08 (patch)
treea9d4246f28e6dcd971ef061da15d6b8f8a2406a7
parent299a342a86994d5bc40edaec9be7a08c5aea0d24 (diff)
libmpeg2: fix shlib packaging
* OE can't add a proper RREPLACES, so people installing generated packages will proably have to a form of -force-overwrite
-rw-r--r--packages/libmpeg2/libmpeg2_0.4.0b.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/libmpeg2/libmpeg2_0.4.0b.bb b/packages/libmpeg2/libmpeg2_0.4.0b.bb
index 74b1ef8c38..3dcd312be6 100644
--- a/packages/libmpeg2/libmpeg2_0.4.0b.bb
+++ b/packages/libmpeg2/libmpeg2_0.4.0b.bb
@@ -4,14 +4,18 @@ PRIORITY = "optional"
DEPENDS = "virtual/libsdl"
LICENSE = "GPL"
+PR = "r1"
+
SRC_URI = "http://libmpeg2.sourceforge.net/files/mpeg2dec-${PV}.tar.gz \
file://Makefile.patch;patch=1 "
S = "${WORKDIR}/mpeg2dec-0.4.0"
-inherit autotools
+inherit autotools lib_package
EXTRA_OECONF="--enable-shared"
+LEAD_SONAME = "libmpeg2.so.0"
+
do_stage() {
oe_libinstall -a -so -C libmpeg2 libmpeg2 ${STAGING_LIBDIR}
oe_libinstall -a -so -C libmpeg2/convert libmpeg2convert ${STAGING_LIBDIR}