Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

newt: add 0.52.12

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
  • Loading branch information...
commit dfbce9ef6456bbdaae40d7bf11ec9f3848547718 1 parent bf27b40
@otavio otavio authored
View
12 recipes/newt/files/support-DESTDIR.patch
@@ -0,0 +1,12 @@
+diff --git a/Makefile.in b/Makefile.in
+index f64ffe3..fb13749 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -36,6 +36,7 @@ datadir = @datadir@
+ mandir = @mandir@
+ man1dir = $(mandir)/man1
+ pkgconfigdir = $(libdir)/pkgconfig
++instroot ?= $(DESTDIR)
+
+ #--------------------------------------
+
View
20 recipes/newt/libnewt_0.52.12.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "Newt is a programming library for color text mode, widget based user interfaces"
+HOMEPAGE = "https://fedorahosted.org/newt/"
+SECTION = "libs"
+LICENSE = "LGPL"
+
+# slang needs to be >= 2.2
+DEPENDS = "slang popt"
+
+SRC_URI = "http://fedorahosted.org/releases/n/e/newt/newt-${PV}.tar.gz \
+ file://support-DESTDIR.patch"
+S = "${WORKDIR}/newt-${PV}"
+
+inherit autotools
+
+PACKAGES_prepend = "whiptail "
+
+FILES_whiptail = "${bindir}/whiptail"
+
+SRC_URI[md5sum] = "51b04128d9e1bf000fa769c417b74486"
+SRC_URI[sha256sum] = "2ba88dc3d118daf509c58e3707c43ad57dd3415d8164054e93fe76439f348529"
Please sign in to comment.
Something went wrong with that request. Please try again.