diff options
author | Chris Larson <clarson@kergoth.com> | 2004-03-23 07:21:43 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-03-23 07:21:43 +0000 |
commit | 2e27e66f278d776dbce5a7733d6db63c90a7df9e (patch) | |
tree | 4901cbd3a9e3c3c3da3b6da2cd8e3f4aea1821c6 /libxine/libxine_1.6.0.oe | |
parent | f249735ad71fd5f13bfd295c55e1e0d596a1dbff (diff) |
cleanup: replace some last manual lib install+symlink with calls to oe_soinstall.
BKrev: 405fe587cQlZLeatBrb4J3NSLsbEqQ
Diffstat (limited to 'libxine/libxine_1.6.0.oe')
-rw-r--r-- | libxine/libxine_1.6.0.oe | 85 |
1 files changed, 40 insertions, 45 deletions
diff --git a/libxine/libxine_1.6.0.oe b/libxine/libxine_1.6.0.oe index 534cf88dc3..41936ba556 100644 --- a/libxine/libxine_1.6.0.oe +++ b/libxine/libxine_1.6.0.oe @@ -10,63 +10,58 @@ inherit autotools S = "${WORKDIR}/xine-lib" SRC_URI = "cvs://anonymous@cvs.xine.sf.net/cvsroot/xine;module=xine-lib;tag=xine-1-beta12-release \ - file://${FILESDIR}/full.patch;patch=1 \ - file://${FILESDIR}/libvorbis.patch;patch=0 \ - file://${FILESDIR}/demux_ogg.patch;patch=0 \ - file://${FILESDIR}/configure.ac.patch;patch=0 \ - file://${FILESDIR}/vo_scale.patch;patch=0" + file://${FILESDIR}/full.patch;patch=1 \ + file://${FILESDIR}/libvorbis.patch;patch=0 \ + file://${FILESDIR}/demux_ogg.patch;patch=0 \ + file://${FILESDIR}/configure.ac.patch;patch=0 \ + file://${FILESDIR}/vo_scale.patch;patch=0" do_configure() { - ./autogen.sh --host ${TARGET_SYS} --build ${BUILD_SYS} \ - --enable-shared --disable-static --prefix=${prefix} \ - --with-zlib-path=${STAGING_DIR} --with-vorbis-prefix=${STAGING_DIR} \ - --disable-oggtest --with-ogg-prefix=${STAGING_DIR} --without-x \ + ./autogen.sh --host ${TARGET_SYS} --build ${BUILD_SYS} \ + --enable-shared --disable-static --prefix=${prefix} \ + --with-zlib-path=${STAGING_DIR} --with-vorbis-prefix=${STAGING_DIR} \ + --disable-oggtest --with-ogg-prefix=${STAGING_DIR} --without-x \ --disable-iconv --disable-nls --without-arts --without-sdl \ --disable-aalib } do_compile() { - oe_runmake LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool + oe_runmake LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool } # ug - we don't do elegant/purdy today do_install() { - oe_runmake -e LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool \ - -C src install-data \ - 'prefix=${D}' 'exec_prefix=${D}' 'libdir=${D}/${libdir}' \ - 'includedir=${D}/${includedir}' - oe_runmake -e LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool \ - -C include install-data \ - 'prefix=${D}' 'exec_prefix=${D}' 'libdir=${D}/${libdir}' \ - 'includedir=${D}/${includedir}' - install -m 0755 -d ${D}/${libdir}/xine/plugins/1.0.0 - for plugin in `find ${S}/src -type f -name xineplug*.la`; do - dso=`dirname $plugin`/.libs/`basename $plugin .la`.so - install -m 0755 $dso ${D}/${libdir}/xine/plugins/1.0.0 - done - install -m 0755 src/xine-engine/.libs/libxine.so.${PV} ${D}${libdir} - ln -fs libxine.so.$PV ${D}${libdir}/libxine.so.1 - ln -fs libxine.so.$PV ${D}${libdir}/libxine.so + oe_runmake -e LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool \ + -C src install-data \ + 'prefix=${D}' 'exec_prefix=${D}' 'libdir=${D}/${libdir}' \ + 'includedir=${D}/${includedir}' + oe_runmake -e LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool \ + -C include install-data \ + 'prefix=${D}' 'exec_prefix=${D}' 'libdir=${D}/${libdir}' \ + 'includedir=${D}/${includedir}' + install -m 0755 -d ${D}/${libdir}/xine/plugins/1.0.0 + for plugin in `find ${S}/src -type f -name xineplug*.la`; do + dso=`dirname $plugin`/.libs/`basename $plugin .la`.so + install -m 0755 $dso ${D}/${libdir}/xine/plugins/1.0.0 + done + oe_soinstall src/xine-engine/.libs/libxine.so.${PV} ${D}/${libdir}/ } do_stage() { - oe_runmake -e LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool \ - -C src install-data \ - 'prefix=${STAGING_DIR}' 'exec_prefix=${STAGING_DIR}' \ - 'libdir=${STAGING_LIBDIR}' \ - 'includedir=${STAGING_INCDIR}' - oe_runmake -e LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool \ - -C include install-data \ - 'prefix=${STAGING_DIR}' 'exec_prefix=${STAGING_DIR}' \ - 'libdir=${STAGING_LIBDIR}' \ - 'includedir=${STAGING_INCDIR}' - install -m 0755 -d ${STAGING_LIBDIR}/xine/plugins/1.0.0 - for plugin in `find ${S}/src -type f -name xineplug*.la`; do - dso=`dirname $plugin`/.libs/`basename $plugin .la`.so - install -m 0755 $dso ${STAGING_LIBDIR}/xine/plugins/1.0.0 - done - install -m 0755 src/xine-engine/.libs/libxine.so.${PV} \ - ${STAGING_LIBDIR} - ln -fs libxine.so.$PV ${STAGING_LIBDIR}/libxine.so.1 - ln -fs libxine.so.$PV ${STAGING_LIBDIR}/libxine.so + oe_runmake -e LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool \ + -C src install-data \ + 'prefix=${STAGING_DIR}' 'exec_prefix=${STAGING_DIR}' \ + 'libdir=${STAGING_LIBDIR}' \ + 'includedir=${STAGING_INCDIR}' + oe_runmake -e LIBTOOL=${STAGING_BINDIR}/arm-linux-libtool \ + -C include install-data \ + 'prefix=${STAGING_DIR}' 'exec_prefix=${STAGING_DIR}' \ + 'libdir=${STAGING_LIBDIR}' \ + 'includedir=${STAGING_INCDIR}' + install -m 0755 -d ${STAGING_LIBDIR}/xine/plugins/1.0.0 + for plugin in `find ${S}/src -type f -name xineplug*.la`; do + dso=`dirname $plugin`/.libs/`basename $plugin .la`.so + install -m 0755 $dso ${STAGING_LIBDIR}/xine/plugins/1.0.0 + done + oe_soinstall src/xine-engine/.libs/libxine.so.${PV} ${STAGING_LIBDIR}/ } |