diff options
author | Koen Kooi <koen@openembedded.org> | 2008-08-05 15:42:09 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-08-05 15:42:09 +0000 |
commit | 3422a436880509c7f82a3ae5d5693c87ece7a42d (patch) | |
tree | 1f040578b10fdd9c8ed1ba6f21037a19fbe3d09a /packages/gstreamer/gst-common.inc | |
parent | b1d637fd93e4b8d390a920e47a8b5e0a974dbe19 (diff) |
gstreamer: replace staging with autotools_stage_all
Diffstat (limited to 'packages/gstreamer/gst-common.inc')
-rw-r--r-- | packages/gstreamer/gst-common.inc | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/packages/gstreamer/gst-common.inc b/packages/gstreamer/gst-common.inc index 04f3f309fa..c6a3fd057d 100644 --- a/packages/gstreamer/gst-common.inc +++ b/packages/gstreamer/gst-common.inc @@ -10,26 +10,10 @@ inherit autotools pkgconfig OE_LT_RPATH_ALLOW = "any" OE_LT_RPATH_ALLOW[export]="1" -do_stage() { - rm -rf ${STAGE_TEMP} - mkdir -p ${STAGE_TEMP} - oe_runmake DESTDIR="${STAGE_TEMP}" install - if [ -d ${STAGE_TEMP}/${includedir} ]; then - cp -fpPR ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR} - fi - for i in $(find ${STAGE_TEMP}/${libdir} -name "*.la") - do - - destdir=$(dirname $(echo $i | sed -e s,${STAGE_TEMP}/${libdir},${STAGING_LIBDIR},g)) - oenote "Installing library $i to $destdir" - oe_libinstall -s -so $(basename $i .la) $destdir - done +AUTOTOOLS_STAGE_PKGCONFIG = "1" - if [ -d ${STAGE_TEMP}/${datadir}/aclocal ]; then - install -d ${STAGING_DATADIR}/aclocal - cp -fpPR ${STAGE_TEMP}/${datadir}/aclocal/* ${STAGING_DATADIR}/aclocal - fi - rm -rf ${STAGE_TEMP} +do_stage() { + autotools_stage_all } |