aboutsummaryrefslogtreecommitdiffstats
path: root/recipes
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2011-01-04 11:11:04 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2011-01-12 16:41:14 -0200
commitdfbce9ef6456bbdaae40d7bf11ec9f3848547718 (patch)
treede80b5e5066a0d419fd1de8a6225bdbbca39c28d /recipes
parentbf27b4028d28d1f73fe6bb11ae90ee47c7b9c4b4 (diff)
downloadopenembedded-upstream.tar.gz
newt: add 0.52.12upstream
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/newt/files/support-DESTDIR.patch12
-rw-r--r--recipes/newt/libnewt_0.52.12.bb20
2 files changed, 32 insertions, 0 deletions
diff --git a/recipes/newt/files/support-DESTDIR.patch b/recipes/newt/files/support-DESTDIR.patch
new file mode 100644
index 0000000000..cfc8904044
--- /dev/null
+++ b/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)
+
+ #--------------------------------------
+
diff --git a/recipes/newt/libnewt_0.52.12.bb b/recipes/newt/libnewt_0.52.12.bb
new file mode 100644
index 0000000000..f5de9c24c2
--- /dev/null
+++ b/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"