Patchwork tclap: add v1.2.1

login
register
mail settings
Submitter Zhenhua Luo
Date March 28, 2012, 3:10 p.m.
Message ID <1332947449-3431-1-git-send-email-b19537@freescale.com>
Download mbox | patch
Permalink /patch/24749/
State Changes Requested, archived
Headers show

Comments

Zhenhua Luo - March 28, 2012, 3:10 p.m.
From: Zhenhua Luo <b19537@freescale.com>

Signed-off-by: Zhenhua Luo <b19537@freescale.com>
---
 meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb
Khem Raj - March 28, 2012, 9:55 p.m.
On Wed, Mar 28, 2012 at 8:10 AM,  <b19537@freescale.com> wrote:
> +do_install_prepend() {
> +    install -d ${S}/docs/html
> +}

why do you need to create a directory in source dir after you have
compiled the application. why not during do_unpack or some earlier
tasks

Patch

diff --git a/meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb b/meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb
new file mode 100644
index 0000000..85d6493
--- /dev/null
+++ b/meta-oe/recipes-devtools/tclap/tclap_1.2.1.bb
@@ -0,0 +1,15 @@ 
+DESCRIPTION = "Templatized C++ Command Line Parser" 
+HOMEPAGE = "http://tclap.sourceforge.net/" 
+SECTION = "tclap" 
+LICENSE = "MIT" 
+LIC_FILES_CHKSUM = "file://COPYING;md5=c8ab0ff134bcc584d0e6b5b9f8732453"
+
+SRCREV = "3627d9402e529770df9b0edf2aa8c0e0d6c6bb41"
+SRC_URI = "git://tclap.git.sourceforge.net/gitroot/tclap/tclap;protocal=git;branch=master" 
+
+S = "${WORKDIR}/git"
+inherit autotools
+
+do_install_prepend() {
+    install -d ${S}/docs/html
+}