summaryrefslogtreecommitdiffstats
path: root/rules/dialog.make
diff options
context:
space:
mode:
authorBart vdr. Meulen <bartvdrmeulen@gmail.com>2010-05-07 23:34:57 +0200
committerRemy Bohmer <linux@bohmer.net>2010-06-02 21:09:29 +0200
commit48040b082248e1a677b48c1884695dbfb564c717 (patch)
treec842f39cd57023a48a077668d9fc1c9e2cb9d58a /rules/dialog.make
parent44e6ece9f2856a591c53f2f08f69aaca47e6b6e3 (diff)
downloadptxdist-48040b082248e1a677b48c1884695dbfb564c717.tar.gz
ptxdist-48040b082248e1a677b48c1884695dbfb564c717.tar.xz
[dialog] add new packet
This add the dialog package to ptxdist Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com> Signed-off-by: Remy Bohmer <linux@bohmer.net>
Diffstat (limited to 'rules/dialog.make')
-rw-r--r--rules/dialog.make63
1 files changed, 63 insertions, 0 deletions
diff --git a/rules/dialog.make b/rules/dialog.make
new file mode 100644
index 000000000..b3d45e218
--- /dev/null
+++ b/rules/dialog.make
@@ -0,0 +1,63 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2010 by Bart vdr. Meulen <bartvdrmeulen@gmail.com>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_DIALOG) += dialog
+
+#
+# Paths and names
+#
+DIALOG_VERSION := 1.1-20100119
+DIALOG := dialog-$(DIALOG_VERSION)
+DIALOG_SUFFIX := tgz
+DIALOG_URL := ftp://invisible-island.net/dialog/$(DIALOG).$(DIALOG_SUFFIX)
+DIALOG_SOURCE := $(SRCDIR)/$(DIALOG).$(DIALOG_SUFFIX)
+DIALOG_DIR := $(BUILDDIR)/$(DIALOG)
+DIALOG_LICENSE := LGPLv2.1
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+$(DIALOG_SOURCE):
+ @$(call targetinfo)
+ @$(call get, DIALOG)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+DIALOG_CONF_TOOL := autoconf
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/dialog.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, dialog)
+ @$(call install_fixup, dialog,PACKAGE,dialog)
+ @$(call install_fixup, dialog,PRIORITY,optional)
+ @$(call install_fixup, dialog,VERSION,$(DIALOG_VERSION))
+ @$(call install_fixup, dialog,SECTION,base)
+ @$(call install_fixup, dialog,AUTHOR,"Bart vdr. Meulen <bartvdrmeulen@gmail.com>")
+ @$(call install_fixup, dialog,DEPENDS,)
+ @$(call install_fixup, dialog,DESCRIPTION,missing)
+
+ @$(call install_copy, dialog, 0, 0, 0755, -, /usr/bin/dialog)
+
+ @$(call install_finish, dialog)
+
+ @$(call touch)
+
+# vim: syntax=make