summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/newt/libnewt_0.52.25.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-extended/newt/libnewt_0.52.25.bb')
-rw-r--r--meta-oe/recipes-extended/newt/libnewt_0.52.25.bb55
1 files changed, 55 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/newt/libnewt_0.52.25.bb b/meta-oe/recipes-extended/newt/libnewt_0.52.25.bb
new file mode 100644
index 0000000000..18a45a3342
--- /dev/null
+++ b/meta-oe/recipes-extended/newt/libnewt_0.52.25.bb
@@ -0,0 +1,55 @@
1SUMMARY = "A library for text mode user interfaces"
2
3DESCRIPTION = "Newt is a programming library for color text mode, widget based user \
4interfaces. Newt can be used to add stacked windows, entry widgets, \
5checkboxes, radio buttons, labels, plain text fields, scrollbars, \
6etc., to text mode user interfaces. This package also contains the \
7shared library needed by programs built with newt, as well as a \
8/usr/bin/dialog replacement called whiptail. Newt is based on the \
9slang library."
10
11HOMEPAGE = "https://releases.pagure.org/newt/"
12SECTION = "libs"
13
14LICENSE = "LGPL-2.0-only"
15LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
16
17# slang needs to be >= 2.2
18DEPENDS = "slang popt python3"
19
20SRC_URI = "https://releases.pagure.org/newt/newt-${PV}.tar.gz \
21 file://cross_ar.patch \
22 file://Makefile.in-Add-tinfo-library-to-the-linking-librari.patch \
23 "
24
25SRC_URI[sha256sum] = "ef0ca9ee27850d1a5c863bb7ff9aa08096c9ed312ece9087b30f3a426828de82"
26
27S = "${UNPACKDIR}/newt-${PV}"
28
29inherit autotools-brokensep python3native python3-dir python3targetconfig
30
31EXTRA_OECONF = "--without-tcl --with-python"
32
33EXTRA_OEMAKE += "PYTHONVERS=${PYTHON_DIR}"
34
35CLEANBROKEN = "1"
36
37export CPPFLAGS
38
39PACKAGES:prepend = "whiptail ${PN}-python "
40
41RDEPENDS:${PN}-python += "python3-core"
42FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*"
43
44do_configure:prepend() {
45 sh autogen.sh
46}
47
48do_compile:prepend() {
49 # Make sure the recompile is OK
50 rm -f ${B}/.depend
51}
52
53FILES:whiptail = "${bindir}/whiptail"
54
55BBCLASSEXTEND = "native nativesdk"