diff options
Diffstat (limited to 'meta/recipes-extended/newt/libnewt_0.52.19.bb')
-rw-r--r-- | meta/recipes-extended/newt/libnewt_0.52.19.bb | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/meta/recipes-extended/newt/libnewt_0.52.19.bb b/meta/recipes-extended/newt/libnewt_0.52.19.bb new file mode 100644 index 0000000000..b45461cde3 --- /dev/null +++ b/meta/recipes-extended/newt/libnewt_0.52.19.bb | |||
@@ -0,0 +1,55 @@ | |||
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 = "LGPLv2" | ||
15 | LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" | ||
16 | |||
17 | # slang needs to be >= 2.2 | ||
18 | DEPENDS = "slang popt" | ||
19 | |||
20 | SRC_URI = "https://fedorahosted.org/releases/n/e/newt/newt-${PV}.tar.gz \ | ||
21 | file://fix_SHAREDDIR.patch \ | ||
22 | file://cross_ar.patch \ | ||
23 | file://Makefile.in-Add-tinfo-library-to-the-linking-librari.patch \ | ||
24 | file://pie-flags.patch \ | ||
25 | " | ||
26 | |||
27 | SRC_URI[md5sum] = "e4aa0f7943edd39c52481a87f68f412a" | ||
28 | SRC_URI[sha256sum] = "08c0db56c21996af6a7cbab99491b774c6c09cef91cd9b03903c84634bff2e80" | ||
29 | |||
30 | S = "${WORKDIR}/newt-${PV}" | ||
31 | |||
32 | EXTRA_OECONF = "--without-tcl --without-python" | ||
33 | |||
34 | inherit autotools-brokensep | ||
35 | |||
36 | CLEANBROKEN = "1" | ||
37 | |||
38 | export STAGING_INCDIR | ||
39 | export STAGING_LIBDIR | ||
40 | export CPPFLAGS | ||
41 | |||
42 | PACKAGES_prepend = "whiptail " | ||
43 | |||
44 | do_configure_prepend() { | ||
45 | sh autogen.sh | ||
46 | } | ||
47 | |||
48 | do_compile_prepend() { | ||
49 | # Make sure the recompile is OK | ||
50 | rm -f ${B}/.depend | ||
51 | } | ||
52 | |||
53 | FILES_whiptail = "${bindir}/whiptail" | ||
54 | |||
55 | BBCLASSEXTEND = "native" | ||