From: Koen Kooi Date: Sun, 29 Apr 2007 20:15:38 +0000 (+0000) Subject: libmpeg2: fix shlib packaging X-Git-Tag: Release-2010-05/1~8868^2~660^2~3^2~16 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a71cb7e0807a5a61c080f092de17ca3bc95d5b08;p=openembedded.git 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 --- 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}