summaryrefslogtreecommitdiff
path: root/meta/packages/mpeg2dec/mpeg2dec_0.4.0b.bb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-06-12 15:52:04 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-06-12 15:52:04 +0100
commit6f8d9edfee0f5fcf608089451aa2724439e06dfd (patch)
treef358117e8351bbac64dd61927d2ed3930485a9f6 /meta/packages/mpeg2dec/mpeg2dec_0.4.0b.bb
parentc6b3f2d2d325075c5c4d57f3f69f24d39b8cab14 (diff)
downloadopenembedded-core-6f8d9edfee0f5fcf608089451aa2724439e06dfd.tar.gz
openembedded-core-6f8d9edfee0f5fcf608089451aa2724439e06dfd.tar.bz2
openembedded-core-6f8d9edfee0f5fcf608089451aa2724439e06dfd.zip
mpeg2dec: Convert to use autotools_stage
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/mpeg2dec/mpeg2dec_0.4.0b.bb')
-rw-r--r--meta/packages/mpeg2dec/mpeg2dec_0.4.0b.bb12
1 files changed, 1 insertions, 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
-}