Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | SUMMARY = "display dialog boxes from shell scripts" |
| 2 | DESCRIPTION = "Dialog lets you to present a variety of questions \ |
| 3 | or display messages using dialog boxes from a shell \ |
| 4 | script (or any scripting language)." |
| 5 | HOMEPAGE = "http://invisible-island.net/dialog/" |
| 6 | SECTION = "console/utils" |
| 7 | DEPENDS = "ncurses" |
| 8 | LICENSE = "LGPL-2.1" |
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" |
| 10 | |
| 11 | SRC_URI[md5sum] = "2b7c002b0a88ce1e0014af34b6b1ebdc" |
| 12 | SRC_URI[sha256sum] = "c4e61ec5768701683dd4b5b2ebd8a31e6289fa6a1f5801e4b481085650698c05" |
| 13 | |
| 14 | SRC_URI = "ftp://invisible-island.net/dialog/dialog-${PV}.tgz \ |
| 15 | " |
| 16 | |
| 17 | # hardcoded here for use in dialog-static recipe |
| 18 | S = "${WORKDIR}/dialog-${PV}" |
| 19 | |
| 20 | inherit autotools-brokensep pkgconfig |
| 21 | |
| 22 | EXTRA_OECONF = "--with-ncurses \ |
| 23 | --disable-rpath-hack" |
| 24 | |
| 25 | do_configure() { |
| 26 | gnu-configize --force |
| 27 | sed -i 's,${cf_ncuconfig_root}6-config,${cf_ncuconfig_root}-config,g' -i configure |
| 28 | sed -i 's,cf_have_ncuconfig=unknown,cf_have_ncuconfig=yes,g' -i configure |
| 29 | oe_runconf |
| 30 | } |