summaryrefslogtreecommitdiff
path: root/package/python-newt
diff options
context:
space:
mode:
Diffstat (limited to 'package/python-newt')
-rw-r--r--package/python-newt/Config.in5
-rw-r--r--package/python-newt/newt.mk13
2 files changed, 18 insertions, 0 deletions
diff --git a/package/python-newt/Config.in b/package/python-newt/Config.in
new file mode 100644
index 0000000..dbe9374
--- /dev/null
+++ b/package/python-newt/Config.in
@@ -0,0 +1,5 @@
+config BR2_PACKAGE_NEWT
+ bool "newt"
+ help
+ https://github.com/kaelzhang/python-newt
+
diff --git a/package/python-newt/newt.mk b/package/python-newt/newt.mk
new file mode 100644
index 0000000..5e605ed
--- /dev/null
+++ b/package/python-newt/newt.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# newt
+#
+################################################################################
+
+# Force to use libintl, otherwise it finds gettext functions in the C
+# library, and does not link against libintl.
+NEWT_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
+NEWT_MAKE_ENV = $(PKG_PYTHON_SETUPTOOLS_ENV)
+NEWT_CONF_OPTS = --without-tcl --with-python=python3.14
+
+$(eval $(autotools-package))