diff options
-rw-r--r-- | packages/dialog/dialog-1.0-20050306/templates.patch | 25 | ||||
-rw-r--r-- | packages/dialog/dialog-static_1.0-20050306.bb | 4 | ||||
-rw-r--r-- | packages/dialog/dialog.inc | 13 |
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 |