From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay01.ispgateway.de ([80.67.31.39]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WLpea-0004mg-Cv for ptxdist@pengutronix.de; Fri, 07 Mar 2014 08:57:13 +0100 Received: from [84.169.200.54] (helo=ubuntuvm.fritz.box) by smtprelay01.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1WLpeZ-0001U9-Rw for ptxdist@pengutronix.de; Fri, 07 Mar 2014 08:57:11 +0100 From: Bernhard Walle Date: Fri, 7 Mar 2014 08:57:07 +0100 Message-Id: <1394179027-20046-1-git-send-email-bernhard@bwalle.de> In-Reply-To: <20140306180531.GR32080@pengutronix.de> References: <20140306180531.GR32080@pengutronix.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 | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 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..31d70e8 --- /dev/null +++ b/rules/tclap.make @@ -0,0 +1,40 @@ +# -*-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 +# ---------------------------------------------------------------------------- + +# +# autoconf +# +TCLAP_CONF_TOOL := autoconf +TCLAP_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + --disable-doxygen + +# vim: syntax=make -- 1.8.3.2 -- ptxdist mailing list ptxdist@pengutronix.de