diff options
Diffstat (limited to 'meta/recipes-extended/newt/libnewt_0.52.13.bb')
-rw-r--r-- | meta/recipes-extended/newt/libnewt_0.52.13.bb | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/recipes-extended/newt/libnewt_0.52.13.bb b/meta/recipes-extended/newt/libnewt_0.52.13.bb new file mode 100644 index 0000000000..38e09a9f9b --- /dev/null +++ b/meta/recipes-extended/newt/libnewt_0.52.13.bb | |||
@@ -0,0 +1,43 @@ | |||
1 | SUMMARY = "A library for text mode user interfaces" | ||
2 | |||
3 | DESCRIPTION = "Newt is a programming library for color text mode, widget based user \ | ||
4 | interfaces. Newt can be used to add stacked windows, entry widgets, \ | ||
5 | checkboxes, radio buttons, labels, plain text fields, scrollbars, \ | ||
6 | etc., to text mode user interfaces. This package also contains the \ | ||
7 | shared library needed by programs built with newt, as well as a \ | ||
8 | /usr/bin/dialog replacement called whiptail. Newt is based on the \ | ||
9 | slang library." | ||
10 | |||
11 | HOMEPAGE = "https://fedorahosted.org/newt/" | ||
12 | SECTION = "libs" | ||
13 | |||
14 | LICENSE = "LGPL" | ||
15 | LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605" | ||
16 | |||
17 | # slang needs to be >= 2.2 | ||
18 | DEPENDS = "slang popt" | ||
19 | |||
20 | PR = "r0" | ||
21 | |||
22 | SRCREV = "c3c7be75f6ef1adfc2be5f99c1e8ef3f0ab58c38" | ||
23 | |||
24 | SRC_URI = "https://fedorahosted.org/releases/n/e/newt/newt-${PV}.tar.gz \ | ||
25 | file://remove_slang_include.patch \ | ||
26 | file://fix_SHAREDDIR.patch" | ||
27 | |||
28 | SRC_URI[md5sum] = "77de05b3f58540152a4ae32a1a64e5d0" | ||
29 | SRC_URI[sha256sum] = "01c254b00a3d27e22f13240b6db74df04e721ccec4d1d4fc7b45fee009efc05f" | ||
30 | |||
31 | S = "${WORKDIR}/newt-${PV}" | ||
32 | |||
33 | EXTRA_OECONF = "--without-python --without-tcl" | ||
34 | |||
35 | inherit autotools | ||
36 | |||
37 | PACKAGES_prepend = "whiptail " | ||
38 | |||
39 | do_configure_prepend() { | ||
40 | sh autogen.sh | ||
41 | } | ||
42 | |||
43 | FILES_whiptail = "${bindir}/whiptail" | ||