Patchwork [meta-oe,1/1] dialog: add 1.1-20111020 recipe (dynamic and static)

login
register
mail settings
Submitter Otavio Salvador
Date Dec. 23, 2011, 8:50 p.m.
Message ID <2da113ea26a5de8a56a21e8e292445ecb64313ee.1324673362.git.otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/17589/
State Accepted
Commit 2642db3615ea2d4196b9c73537d9ebff6c57de2d
Headers show

Comments

Otavio Salvador - Dec. 23, 2011, 8:50 p.m.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 .../dialog/dialog-static_1.1-20111020.bb           |    7 +++++
 meta-oe/recipes-extended/dialog/dialog.inc         |   24 ++++++++++++++++++++
 .../recipes-extended/dialog/dialog_1.1-20111020.bb |    5 ++++
 3 files changed, 36 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-extended/dialog/dialog-static_1.1-20111020.bb
 create mode 100644 meta-oe/recipes-extended/dialog/dialog.inc
 create mode 100644 meta-oe/recipes-extended/dialog/dialog_1.1-20111020.bb

Patch

diff --git a/meta-oe/recipes-extended/dialog/dialog-static_1.1-20111020.bb b/meta-oe/recipes-extended/dialog/dialog-static_1.1-20111020.bb
new file mode 100644
index 0000000..e21a914
--- /dev/null
+++ b/meta-oe/recipes-extended/dialog/dialog-static_1.1-20111020.bb
@@ -0,0 +1,7 @@ 
+require dialog.inc
+PR = "${INC_PR}.0"
+
+LDFLAGS += "-static"
+
+SRC_URI[md5sum] = "15dd2ce9f537c0400f600d1a383aa0a3"
+SRC_URI[sha256sum] = "746bf18b8414985864835b61536cee826ac916e6827fbcad9faffb496cae8a7a"
diff --git a/meta-oe/recipes-extended/dialog/dialog.inc b/meta-oe/recipes-extended/dialog/dialog.inc
new file mode 100644
index 0000000..03b0aa7
--- /dev/null
+++ b/meta-oe/recipes-extended/dialog/dialog.inc
@@ -0,0 +1,24 @@ 
+DESCRIPTION = "Dialog lets you to present a variety of questions \
+or display messages using dialog boxes from a shell \
+script (or any scripting language)."
+SECTION = "console/utils"
+DEPENDS = "ncurses"
+LICENSE = "LGPL-2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
+
+INC_PR = "r0"
+
+SRC_URI = "ftp://invisible-island.net/dialog/dialog-${PV}.tgz"
+
+# hardcoded here for use in dialog-static recipe
+S = "${WORKDIR}/dialog-${PV}"
+
+inherit autotools
+
+EXTRA_OECONF = "--with-ncurses \
+                --disable-rpath-hack"
+
+do_configure() {
+    sed -i 's,${cf_ncuconfig_root}6-config,${cf_ncuconfig_root}-config,g' -i configure
+    oe_runconf
+}
diff --git a/meta-oe/recipes-extended/dialog/dialog_1.1-20111020.bb b/meta-oe/recipes-extended/dialog/dialog_1.1-20111020.bb
new file mode 100644
index 0000000..73079a1
--- /dev/null
+++ b/meta-oe/recipes-extended/dialog/dialog_1.1-20111020.bb
@@ -0,0 +1,5 @@ 
+require dialog.inc
+PR = "${INC_PR}.0"
+
+SRC_URI[md5sum] = "15dd2ce9f537c0400f600d1a383aa0a3"
+SRC_URI[sha256sum] = "746bf18b8414985864835b61536cee826ac916e6827fbcad9faffb496cae8a7a"