From patchwork Wed Jun 11 02:50:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Weber X-Patchwork-Id: 358473 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id A92981400B2 for ; Wed, 11 Jun 2014 12:50:55 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E8CCD8BD75; Wed, 11 Jun 2014 02:50:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B5JI1R4XFZaU; Wed, 11 Jun 2014 02:50:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id CB22E8BD47; Wed, 11 Jun 2014 02:50:51 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 237561BF9ED for ; Wed, 11 Jun 2014 02:50:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1B7A98C053 for ; Wed, 11 Jun 2014 02:50:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bhDIyzf3qW9O for ; Wed, 11 Jun 2014 02:50:45 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from secvs02.rockwellcollins.com (secvs02.rockwellcollins.com [205.175.225.241]) by whitealder.osuosl.org (Postfix) with ESMTPS id 067808C071 for ; Wed, 11 Jun 2014 02:50:44 +0000 (UTC) Received: from nosuchhost.198.131.in-addr.arpa (HELO crulimr01.rockwellcollins.com) ([131.198.26.129]) by mail-virt.rockwellcollins.com with ESMTP; 10 Jun 2014 21:50:44 -0500 Received: from localhost.localdomain (crp23476.rockwellcollins.com [131.199.101.31]) by crulimr01.rockwellcollins.com (Postfix) with ESMTP id CAA4960160; Tue, 10 Jun 2014 21:50:43 -0500 (CDT) From: Matt Weber To: buildroot@busybox.net Date: Tue, 10 Jun 2014 19:50:29 -0700 Message-Id: <1402455030-18008-2-git-send-email-matthew.weber@rockwellcollins.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1402455030-18008-1-git-send-email-matthew.weber@rockwellcollins.com> References: <1402455030-18008-1-git-send-email-matthew.weber@rockwellcollins.com> Subject: [Buildroot] [PATCH v2 2/3] tclap: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: Matt Weber --- Changes v1 -> v2: - Added depend on c++ stdlib (Thomas P) - Fixed description line length and word spelling (Thomas P) - Removed define of source archive file name as it's default (Thomas P) - Added description about not installing to target and that this pkg is a set of template headers (Thomas P) --- package/Config.in | 1 + package/tclap/Config.in | 17 +++++++++++++++++ package/tclap/tclap.mk | 16 ++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 package/tclap/Config.in create mode 100644 package/tclap/tclap.mk diff --git a/package/Config.in b/package/Config.in index 60118ea..ac3af6b 100644 --- a/package/Config.in +++ b/package/Config.in @@ -856,6 +856,7 @@ source "package/pcre/Config.in" source "package/popt/Config.in" source "package/readline/Config.in" source "package/slang/Config.in" +source "package/tclap/Config.in" endmenu endmenu diff --git a/package/tclap/Config.in b/package/tclap/Config.in new file mode 100644 index 0000000..8c6296f --- /dev/null +++ b/package/tclap/Config.in @@ -0,0 +1,17 @@ +comment "tclap needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP + +config BR2_PACKAGE_TCLAP + bool "tclap" + depends BR2_INSTALL_LIBSTDCPP + help + This is a small, flexible library that provides a simple interface + for defining and accessing command line arguments. It was initially + 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. + + http://tclap.sourceforge.net/ diff --git a/package/tclap/tclap.mk b/package/tclap/tclap.mk new file mode 100644 index 0000000..807f247 --- /dev/null +++ b/package/tclap/tclap.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# tclap +# +################################################################################ + +TCLAP_VERSION = 1.2.1 +TCLAP_SITE = http://downloads.sourceforge.net/project/tclap +TCLAP_LICENSE = MIT +TCLAP_LICENSE_FILES = COPYING +TCLAP_INSTALL_STAGING = YES + +# This package is a pure C++ template library, only made of headers. +TCLAP_INSTALL_TARGET = NO + +$(eval $(autotools-package))