summaryrefslogtreecommitdiffstats
path: root/meta/packages/mpeg2dec
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
parentc6b3f2d2d325075c5c4d57f3f69f24d39b8cab14 (diff)
downloadpoky-6f8d9edfee0f5fcf608089451aa2724439e06dfd.tar.gz
mpeg2dec: Convert to use autotools_stage
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/mpeg2dec')
-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"
10SRC_URI = "http://libmpeg2.sourceforge.net/files/mpeg2dec-${PV}.tar.gz" 10SRC_URI = "http://libmpeg2.sourceforge.net/files/mpeg2dec-${PV}.tar.gz"
11S = "${WORKDIR}/mpeg2dec-0.4.0" 11S = "${WORKDIR}/mpeg2dec-0.4.0"
12 12
13inherit autotools pkgconfig 13inherit autotools_stage pkgconfig
14 14
15EXTRA_OECONF = "--enable-shared --disable-sdl --with-x" 15EXTRA_OECONF = "--enable-shared --disable-sdl --with-x"
16 16
@@ -28,14 +28,4 @@ FILES_libmpeg2convert-dev = "${libdir}/libmpeg2convert.so \
28 ${libdir}/pkgconfig/libmpeg2convert.pc \ 28 ${libdir}/pkgconfig/libmpeg2convert.pc \
29 ${includedir}/mpeg2dec/mpeg2convert.h" 29 ${includedir}/mpeg2dec/mpeg2convert.h"
30 30
31mpeg2dec_include = "mpeg2.h mpeg2convert.h"
32 31
33do_stage () {
34 oe_libinstall -so -C libmpeg2/.libs libmpeg2 ${STAGING_LIBDIR}
35 oe_libinstall -so -C libmpeg2/convert/.libs libmpeg2convert ${STAGING_LIBDIR}
36
37 mkdir -p ${STAGING_INCDIR}/mpeg2dec/
38 for i in ${mpeg2dec_include}; do
39 install -m 0644 include/$i ${STAGING_INCDIR}/mpeg2dec/
40 done
41}