From 6f8d9edfee0f5fcf608089451aa2724439e06dfd Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 12 Jun 2009 15:52:04 +0100 Subject: mpeg2dec: Convert to use autotools_stage Signed-off-by: Richard Purdie --- meta/packages/mpeg2dec/mpeg2dec_0.4.0b.bb | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/meta/packages/mpeg2dec/mpeg2dec_0.4.0b.bb b/meta/packages/mpeg2dec/mpeg2dec_0.4.0b.bb index 8f960f77b0..3bda0ac45f 100644 --- a/meta/packages/mpeg2dec/mpeg2dec_0.4.0b.bb +++ b/meta/packages/mpeg2dec/mpeg2dec_0.4.0b.bb @@ -10,7 +10,7 @@ DEPENDS = "virtual/libx11" SRC_URI = "http://libmpeg2.sourceforge.net/files/mpeg2dec-${PV}.tar.gz" S = "${WORKDIR}/mpeg2dec-0.4.0" -inherit autotools pkgconfig +inherit autotools_stage pkgconfig EXTRA_OECONF = "--enable-shared --disable-sdl --with-x" @@ -28,14 +28,4 @@ FILES_libmpeg2convert-dev = "${libdir}/libmpeg2convert.so \ ${libdir}/pkgconfig/libmpeg2convert.pc \ ${includedir}/mpeg2dec/mpeg2convert.h" -mpeg2dec_include = "mpeg2.h mpeg2convert.h" -do_stage () { - oe_libinstall -so -C libmpeg2/.libs libmpeg2 ${STAGING_LIBDIR} - oe_libinstall -so -C libmpeg2/convert/.libs libmpeg2convert ${STAGING_LIBDIR} - - mkdir -p ${STAGING_INCDIR}/mpeg2dec/ - for i in ${mpeg2dec_include}; do - install -m 0644 include/$i ${STAGING_INCDIR}/mpeg2dec/ - done -} -- cgit v1.2.3