From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay02.ispgateway.de ([80.67.31.25]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WKPoI-0001Ii-U2 for ptxdist@pengutronix.de; Mon, 03 Mar 2014 11:09:26 +0100 Received: from [93.215.33.140] (helo=ubuntuvm.fritz.box) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1WKPoI-0005Hc-Ch for ptxdist@pengutronix.de; Mon, 03 Mar 2014 11:09:22 +0100 From: Bernhard Walle Date: Mon, 3 Mar 2014 11:09:21 +0100 Message-Id: <1393841361-15544-1-git-send-email-bernhard@bwalle.de> Subject: [ptxdist] [PATCH] tclap: New package Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Signed-off-by: Bernhard Walle --- 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 +# +# 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) + +# +# autoconf +# +TCLAP_CONF_TOOL := autoconf + +# vim: syntax=make -- 1.8.3.2 -- ptxdist mailing list ptxdist@pengutronix.de