tclap: upgrade 1.2.2 -> 1.4.0

Project switched from autotools to CMake so drop the Makefile.am patch.
The COPYING file copyright years were updated. Add description.

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Randy MacLeod
2021-03-15 11:55:28 -04:00
committed by Khem Raj
parent 3591919feb
commit 2bf78554f5
3 changed files with 22 additions and 47 deletions
@@ -1,31 +0,0 @@
From c209ed0e7ffca32fe3714bad9cc54bdb00c286bb Mon Sep 17 00:00:00 2001
From: Ting Liu <b28495@freescale.com>
Date: Mon, 15 Apr 2013 16:28:37 +0800
Subject: [PATCH] Makefile.am: disable docs
Upstream-Status: Inappropriate [OE specific]
docs need some generating tool (for example, doxygen) from host which may
be not available. Disable it to avoid build issue.
Signed-off-by: Ting Liu <b28495@freescale.com>
---
Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 0a6ebc9..6b42f41 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,7 @@
ACLOCAL_AMFLAGS = -I config
-SUBDIRS = include examples docs tests msc config
+SUBDIRS = include examples tests msc config
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = $(PACKAGE).pc
--
1.7.5
@@ -1,16 +0,0 @@
SUMMARY = "Templatized C++ Command Line Parser"
HOMEPAGE = "http://tclap.sourceforge.net/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=0ca8b9c5c5445cfa7af7e78fd27e60ed"
SRCREV = "ec3ddcfe41b0544a4551a57439b6b3682fe31479"
SRC_URI = "git://git.code.sf.net/p/tclap/code;branch=1.2 \
file://Makefile.am-disable-docs.patch \
"
S = "${WORKDIR}/git"
inherit autotools
ALLOW_EMPTY_${PN} = "1"
BBCLASSEXTEND = "native nativesdk"
@@ -0,0 +1,22 @@
SUMMARY = "Templatized C++ Command Line Parser"
HOMEPAGE = "http://tclap.sourceforge.net/"
DESCRIPTION = "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. \
"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=5c64b2e8cc50917b2744a90950faa7cd"
SRCREV = "799a8b1f99818e39fee19d0601030770af1221e1"
SRC_URI = "git://git.code.sf.net/p/tclap/code;branch=1.4 \
"
S = "${WORKDIR}/git"
inherit cmake
ALLOW_EMPTY_${PN} = "1"
BBCLASSEXTEND = "native nativesdk"