libmpeg2: generate the same packages as mpeg2dec
authorKoen Kooi <koen@openembedded.org>
Sun, 29 Apr 2007 20:46:31 +0000 (20:46 +0000)
committerKoen Kooi <koen@openembedded.org>
Sun, 29 Apr 2007 20:46:31 +0000 (20:46 +0000)
* can we remove either mpeg2dec or libmpeg2, they seem a bit redundant.....

packages/libmpeg2/libmpeg2_0.4.0b.bb

index 3dcd312..bd57ed8 100644 (file)
@@ -4,7 +4,7 @@ PRIORITY = "optional"
 DEPENDS = "virtual/libsdl"
 LICENSE = "GPL"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://libmpeg2.sourceforge.net/files/mpeg2dec-${PV}.tar.gz \
                        file://Makefile.patch;patch=1 "
@@ -16,6 +16,15 @@ EXTRA_OECONF="--enable-shared"
 
 LEAD_SONAME = "libmpeg2.so.0"
 
+PACKAGES =+ "libmpeg2convert libmpeg2convert-dev"
+
+FILES_libmpeg2convert = "${libdir}/libmpeg2convert.so.*"
+FILES_libmpeg2convert-dev = "${libdir}/libmpeg2convert.so \
+                             ${libdir}/libmpeg2convert.*a \
+                             ${libdir}/pkgconfig/libmpeg2convert.pc \
+                             ${includedir}/mpeg2dec/mpeg2convert.h"
+
+
 do_stage() {
        oe_libinstall -a -so -C libmpeg2 libmpeg2 ${STAGING_LIBDIR}
        oe_libinstall -a -so -C libmpeg2/convert libmpeg2convert ${STAGING_LIBDIR}