From 2642db3615ea2d4196b9c73537d9ebff6c57de2d Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 23 Dec 2011 20:50:18 +0000 Subject: dialog: add 1.1-20111020 recipe (dynamic and static) Signed-off-by: Otavio Salvador Signed-off-by: Koen Kooi --- .../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(+) 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 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 000000000..e21a914da --- /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 000000000..03b0aa7fd --- /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 000000000..73079a17d --- /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" -- cgit v1.2.3-54-g00ecf