From: Bart vdr. Meulen <bartvdrmeu...@gmail.com> This add the dialog package to ptxdist
Signed-off-by: Bart vdr. Meulen <bartvdrmeu...@gmail.com> --- rules/dialog.in | 13 +++++++ rules/dialog.make | 103 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 116 insertions(+), 0 deletions(-) create mode 100644 rules/dialog.in create mode 100644 rules/dialog.make diff --git a/rules/dialog.in b/rules/dialog.in new file mode 100644 index 0000000..b1a3104 --- /dev/null +++ b/rules/dialog.in @@ -0,0 +1,13 @@ +## SECTION=shell_and_console + +config DIALOG + tristate + select NCURSES + prompt "dialog" + help + Dialog is a program that will let you to present a variety of + questions or display messages using dialog boxes from a shell script. + It is built from the dialog library, which consists of several widgets + as well as utility functions that are used by the widgets or the main + program. + diff --git a/rules/dialog.make b/rules/dialog.make new file mode 100644 index 0000000..daa5b93 --- /dev/null +++ b/rules/dialog.make @@ -0,0 +1,103 @@ +# -*-makefile-*- +# +# Copyright (C) 2010 by Bart vdr. Meulen <bartvdrmeu...@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_ENV := $(CROSS_ENV) + +# +# autoconf +# +DIALOG_CONF_TOOL := autoconf +#DIALOG_CONF_OPT := $(CROSS_AUTOCONF_USR) + +#$(STATEDIR)/dialog.prepare: +# @$(call targetinfo) +# @$(call clean, $(DIALOG_DIR)/config.cache) +# cd $(DIALOG_DIR) && \ +# $(DIALOG_PATH) $(DIALOG_ENV) \ +# ./configure $(DIALOG_CONF_OPT) +# @$(call touch) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +#$(STATEDIR)/dialog.compile: +# @$(call targetinfo) +# @$(call world/compile, DIALOG) +# @$(call touch) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +#$(STATEDIR)/dialog.install: +# @$(call targetinfo) +# @$(call world/install, DIALOG) +# @$(call touch) + +# ---------------------------------------------------------------------------- +# 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 <bartvdrmeu...@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) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +#$(STATEDIR)/dialog.clean: +# @$(call targetinfo) +# @$(call clean_pkg, DIALOG) + +# vim: syntax=make -- 1.7.0.4 -- ptxdist mailing list ptxdist@pengutronix.de