On Mon, Mar 03, 2014 at 11:09:21AM +0100, Bernhard Walle wrote: > Signed-off-by: Bernhard Walle <[email protected]> > --- > rules/tclap.in | 21 +++++++++++++++++++++ > rules/tclap.make | 39 +++++++++++++++++++++++++++++++++++++++ > 2 files changed, 60 insertions(+) > create mode 100644 rules/tclap.in > create mode 100644 rules/tclap.make > > diff --git a/rules/tclap.in b/rules/tclap.in > new file mode 100644 > index 0000000..dd5cd48 > --- /dev/null > +++ b/rules/tclap.in > @@ -0,0 +1,21 @@ > +## SECTION=system_libraries > + > +config TCLAP > + tristate > + prompt "tclap" > + help > + Templatized C++ Command Line Parser Library > + > + TCLAP is a small, flexible library that provides a simple interface > + for defining and accessing command line arguments. It was intially > + inspired by the user friendly CLAP libary. The difference is that > + this library is templatized, so the argument class is type > + independent. Type independence avoids identical-except-for-type > + objects, such as IntArg, FloatArg, and StringArg. While the library > + is not strictly compliant with the GNU or POSIX standards, it is > + close. > + > + NOTE: TCLAP is header-only, so the package doesn't install anything > + on the target! > + > + > diff --git a/rules/tclap.make b/rules/tclap.make > new file mode 100644 > index 0000000..49c0f0a > --- /dev/null > +++ b/rules/tclap.make > @@ -0,0 +1,39 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2014 by Bernhard Walle <[email protected]> > +# > +# 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. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_TCLAP) += tclap > + > +# > +# Paths and names > +# > +TCLAP_VERSION := 1.2.1 > +TCLAP_MD5 := eb0521d029bf3b1cc0dcaa7e42abf82a > +TCLAP := tclap-$(TCLAP_VERSION) > +TCLAP_SUFFIX := tar.gz > +TCLAP_URL := $(call ptx/mirror, SF, tclap/$(TCLAP).$(TCLAP_SUFFIX)) > +TCLAP_SOURCE := $(SRCDIR)/$(TCLAP).$(TCLAP_SUFFIX) > +TCLAP_DIR := $(BUILDDIR)/$(TCLAP) > +TCLAP_LICENSE := MIT > + > +# > ---------------------------------------------------------------------------- > +# Prepare > +# > ---------------------------------------------------------------------------- > + > +#TCLAP_CONF_ENV := $(CROSS_ENV)
remove > + > +# > +# autoconf > +# > +TCLAP_CONF_TOOL := autoconf add conf_opts with --disable-doxygen Michael > + > +# vim: syntax=make > -- > 1.8.3.2 > > > -- > ptxdist mailing list > [email protected] > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list [email protected]
