summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymond Danks <raymond@edanks.com>2006-05-31 22:33:19 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-31 22:33:19 +0000
commit68a544288f7b00f892d85dad4c7ec21d3a480e36 (patch)
treee13d2773c58a3a41d8c7f032fd7e459d8e167859
parentf1108af9f4472651000c83993ad95943bab5fc4c (diff)
dialog - Add dialog-static and templates.patch (missed adds)
-rw-r--r--packages/dialog/dialog-1.0-20050306/templates.patch25
-rw-r--r--packages/dialog/dialog-static_1.0-20050306.bb4
-rw-r--r--packages/dialog/dialog.inc13
3 files changed, 42 insertions, 0 deletions
diff --git a/packages/dialog/dialog-1.0-20050306/templates.patch b/packages/dialog/dialog-1.0-20050306/templates.patch
new file mode 100644
index 0000000000..07fa384802
--- /dev/null
+++ b/packages/dialog/dialog-1.0-20050306/templates.patch
@@ -0,0 +1,25 @@
+Index: dialog-1.0-20050306/configure.in
+===================================================================
+--- dialog-1.0-20050306.orig/configure.in
++++ dialog-1.0-20050306/configure.in
+@@ -137,6 +137,20 @@ strcasecmp \
+ waitpid \
+ )
+
++AH_TEMPLATE([HAVE_FLUSHINP], [Define if you have the flushinp function])
++AH_TEMPLATE([HAVE_GETBEGX], [Define if you have the getbegx function])
++AH_TEMPLATE([HAVE_GETBEGY], [Define if you have the getbegy function])
++AH_TEMPLATE([HAVE_GETBEGYX], [Define if you have the getbegyx function])
++AH_TEMPLATE([HAVE_GETCURX], [Define if you have the getcurx function])
++AH_TEMPLATE([HAVE_GETCURY], [Define if you have the getcury function])
++AH_TEMPLATE([HAVE_GETMAXX], [Define if you have the getcury function])
++AH_TEMPLATE([HAVE_GETMAXY], [Define if you have the getcury function])
++AH_TEMPLATE([HAVE_GETMAXYX], [Define if you have the getcury function])
++AH_TEMPLATE([HAVE_GETPARX], [Define if you have the getcury function])
++AH_TEMPLATE([HAVE_GETPARY], [Define if you have the getcury function])
++AH_TEMPLATE([HAVE_GETPARYX], [Define if you have the getcury function])
++AH_TEMPLATE([HAVE_WGET_WCH], [Define if you have the getcury function])
++
+ CF_CURSES_FUNCS(\
+ flushinp \
+ getbegx \
diff --git a/packages/dialog/dialog-static_1.0-20050306.bb b/packages/dialog/dialog-static_1.0-20050306.bb
new file mode 100644
index 0000000000..67241cdeef
--- /dev/null
+++ b/packages/dialog/dialog-static_1.0-20050306.bb
@@ -0,0 +1,4 @@
+include dialog.inc
+LDFLAGS += "-static"
+S="${WORKDIR}/dialog-${PV}"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/dialog-${PV}"
diff --git a/packages/dialog/dialog.inc b/packages/dialog/dialog.inc
new file mode 100644
index 0000000000..f2bcaf042a
--- /dev/null
+++ b/packages/dialog/dialog.inc
@@ -0,0 +1,13 @@
+SECTION = "console/utils"
+DEPENDS = "ncurses"
+LICENSE = "GPL"
+DESCRIPTION = "Dialog lets you to present a variety of questions \
+or display messages using dialog boxes from a shell \
+script (or any scripting language)."
+
+SRC_URI = "ftp://ftp.us.debian.org/debian/pool/main/d/dialog/dialog_${PV}.orig.tar.gz \
+ file://configure.patch;patch=1 \
+ file://m4.patch;patch=1 \
+ file://templates.patch;patch=1"
+
+inherit autotools