Ryan M. Raasch wrote: > Lightweight XML Library: > Mini-XML is a small XML library that you > can use to read and write XML and XML-like data files.
I cleaned up the patch and make it work even if cross compiling. Shame on every project using autoconf but not automake (ptxdist excluded). I wonder how long it would take to autotoolize the libmxml properly. however, commited to master Marc > > Signed-off-by: Ryan M. Raasch <ryan.raa...@gmail.com> > --- > rules/libmxml.in | 10 +++++++++ > rules/libmxml.make | 57 > ++++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 67 insertions(+), 0 deletions(-) > create mode 100644 rules/libmxml.in > create mode 100644 rules/libmxml.make > > diff --git a/rules/libmxml.in b/rules/libmxml.in > new file mode 100644 > index 0000000..c96644a > --- /dev/null > +++ b/rules/libmxml.in > @@ -0,0 +1,10 @@ > +## SECTION=system_libraries > + > +config LIBMXML > + bool > + prompt "libmxml" > + help > + Mini-XML is a small XML parsing library > + that you can use to read XML and XML-like > + data files in your application without > + requiring large non-standard libraries. > diff --git a/rules/libmxml.make b/rules/libmxml.make > new file mode 100644 > index 0000000..464e1f5 > --- /dev/null > +++ b/rules/libmxml.make > @@ -0,0 +1,57 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2007 by Lars Munch <l...@segv.dk> > +# 2010 by Ryan Raasch <ryan.raa...@gmail.com> > +# > +# See CREDITS for details about who has contributed to this project. > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +PACKAGES-$(PTXCONF_LIBMXML) += libmxml > + > +# > +# Paths and names > +# > +LIBMXML_VERSION := 2.6 > +LIBMXML := mxml-$(LIBMXML_VERSION) > +LIBMXML_SUFFIX := tar.gz > +LIBMXML_URL := > http://ftp.easysw.com/pub/libmxml/$(LIBMXML).$(LIBMXML_SUFFIX) > +LIBMXML_SOURCE := $(SRCDIR)/$(LIBMXML).$(LIBMXML_SUFFIX) > +LIBMXML_DIR := $(BUILDDIR)/mxml-$(LIBMXML_VERSION) > +LIBMXML_LICENSE := LGPL > + > +# > ---------------------------------------------------------------------------- > +# Prepare > +# > ---------------------------------------------------------------------------- > +LIBMXML_ENV := $(CROSS_ENV) \ > + DSTROOT=$(LIBMXML_PKGDIR) > +# > +# autoconf > +# > +LIBMXML_CONF_TOOL := autoconf > +LIBMXML_CONF_OPT := \ > + $(CROSS_AUTOCONF_USR) \ > + --enable-shared > + > +# > ---------------------------------------------------------------------------- > +# Target-Install > +# > ---------------------------------------------------------------------------- > + > +$(STATEDIR)/libmxml.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, libmxml) > + @$(call install_fixup, libmxml,PRIORITY,optional) > + @$(call install_fixup, libmxml,SECTION,base) > + @$(call install_fixup, libmxml,AUTHOR,"<Ryan Raasch > ryan.raa...@gmail.com>") > + @$(call install_fixup, libmxml,DESCRIPTION,missing) > + > + @$(call install_lib, libmxml, 0, 0, 0644, libmxml) > + > + @$(call install_finish, libmxml) > + > + @$(call touch) > + > +# vim: syntax=make -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
-- ptxdist mailing list ptxdist@pengutronix.de