dialog - Add dialog-static and templates.patch (missed adds)
authorRaymond Danks <raymond@edanks.com>
Wed, 31 May 2006 22:33:19 +0000 (22:33 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Wed, 31 May 2006 22:33:19 +0000 (22:33 +0000)
packages/dialog/dialog-1.0-20050306/templates.patch [new file with mode: 0644]
packages/dialog/dialog-static_1.0-20050306.bb [new file with mode: 0644]
packages/dialog/dialog.inc [new file with mode: 0644]

diff --git a/packages/dialog/dialog-1.0-20050306/templates.patch b/packages/dialog/dialog-1.0-20050306/templates.patch
new file mode 100644 (file)
index 0000000..07fa384
--- /dev/null
@@ -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 (file)
index 0000000..67241cd
--- /dev/null
@@ -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 (file)
index 0000000..f2bcaf0
--- /dev/null
@@ -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