Am Mittwoch 18 November 2009 14:23:21 schrieb Martin Jansa:
> ---
> recipes/libxml/libxml2-native.inc | 25 ++++++++++---------------
> 1 files changed, 10 insertions(+), 15 deletions(-)
>
> diff --git a/recipes/libxml/libxml2-native.inc
> b/recipes/libxml/libxml2-native.inc index 3f67152..603f48d 100644
> --- a/recipes/libxml/libxml2-native.inc
> +++ b/recipes/libxml/libxml2-native.inc
> @@ -1,26 +1,21 @@
> DESCRIPTION = "GNOME XML library"
> DEPENDS = "python-native"
> FILESDIR = "[email protected](bb.data.getVar('FILE',d,1))}/libxml2-${PV}"
> +PR = "r3"
>
> SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz"
> S = "${WORKDIR}/libxml2-${PV}"
>
> -inherit autotools native pkgconfig distutils-native-base
> +inherit distutils-base autotools native pkgconfig
>
> -do_configure_prepend () {
> - EXTRA_LIBXML2_OECONF="\
> - --with-python=${PYTHON_DIR} \
> - --without-debug \
> - --without-legacy \
> - --with-catalog \
> - --without-docbook \
> - --with-c14n \
> - "
> -}
> -
> -do_configure (){
> - autotools_do_configure ${EXTRA_LIBXML2_OECONF}
> -}
> +EXTRA_OECONF = "\
> + --with-python=${STAGING_INCDIR}/${PYTHON_MAJMIN} \
> + --without-debug \
> + --without-legacy \
> + --without-catalog \
> + --without-docbook \
> + --with-c14n \
> +"
>
> do_stage () {
> oe_runmake install
>
That was a new recipe at the time i wrote it, but now there seems to be
another one in oe...
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel