2011-03-03 04:32:01 +00:00
|
|
|
SUMMARY = "A library for text mode user interfaces"
|
|
|
|
|
|
|
|
DESCRIPTION = "Newt is a programming library for color text mode, widget based user \
|
|
|
|
interfaces. Newt can be used to add stacked windows, entry widgets, \
|
|
|
|
checkboxes, radio buttons, labels, plain text fields, scrollbars, \
|
|
|
|
etc., to text mode user interfaces. This package also contains the \
|
|
|
|
shared library needed by programs built with newt, as well as a \
|
|
|
|
/usr/bin/dialog replacement called whiptail. Newt is based on the \
|
|
|
|
slang library."
|
|
|
|
|
|
|
|
HOMEPAGE = "https://fedorahosted.org/newt/"
|
|
|
|
SECTION = "libs"
|
|
|
|
|
2012-03-15 00:51:32 +00:00
|
|
|
LICENSE = "LGPLv2"
|
2011-03-03 04:32:01 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
|
|
|
|
|
|
|
|
# slang needs to be >= 2.2
|
2012-12-12 10:48:07 +00:00
|
|
|
DEPENDS = "slang popt python"
|
2011-03-03 04:32:01 +00:00
|
|
|
|
2012-12-12 10:48:07 +00:00
|
|
|
PR = "r2"
|
2011-03-03 04:32:01 +00:00
|
|
|
|
2011-07-28 09:28:42 +00:00
|
|
|
SRC_URI = "https://fedorahosted.org/releases/n/e/newt/newt-${PV}.tar.gz \
|
2011-04-15 08:40:47 +00:00
|
|
|
file://remove_slang_include.patch \
|
2012-06-08 16:43:47 +00:00
|
|
|
file://fix_SHAREDDIR.patch \
|
2012-12-12 10:48:07 +00:00
|
|
|
file://cross_ar.patch \
|
|
|
|
file://fix_python_fpic.patch"
|
2011-04-15 08:40:47 +00:00
|
|
|
|
2012-03-14 09:03:37 +00:00
|
|
|
SRC_URI[md5sum] = "eb78c6bb658b92ec7198908b5b8d0e37"
|
|
|
|
SRC_URI[sha256sum] = "f70f4f58baa60388ddf2e39249ffb00898fb40f2b2767e42e2ab51fe4b40978e"
|
2011-07-28 09:28:42 +00:00
|
|
|
|
|
|
|
S = "${WORKDIR}/newt-${PV}"
|
2011-03-03 04:32:01 +00:00
|
|
|
|
2012-12-12 10:48:07 +00:00
|
|
|
EXTRA_OECONF = "--without-tcl"
|
2011-03-03 04:32:01 +00:00
|
|
|
|
2012-12-12 10:48:07 +00:00
|
|
|
inherit autotools pythonnative python-dir
|
2011-03-03 04:32:01 +00:00
|
|
|
|
2012-12-12 10:48:07 +00:00
|
|
|
EXTRA_OEMAKE = "PYTHONVERS=${PYTHON_DIR}"
|
|
|
|
|
|
|
|
export STAGING_INCDIR
|
|
|
|
export STAGING_LIBDIR
|
|
|
|
|
|
|
|
export BUILD_SYS
|
|
|
|
export HOST_SYS
|
|
|
|
|
|
|
|
PACKAGES_prepend = "whiptail ${PN}-python "
|
2011-03-03 04:32:01 +00:00
|
|
|
|
|
|
|
do_configure_prepend() {
|
2013-03-18 02:05:11 +00:00
|
|
|
( cd ${S}; sh autogen.sh )
|
2011-03-03 04:32:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
FILES_whiptail = "${bindir}/whiptail"
|
2012-12-12 10:48:07 +00:00
|
|
|
FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/.debug/"
|
|
|
|
FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*"
|
|
|
|
FILES_${PN}-staticdev = "${libdir}/*.a"
|