summaryrefslogtreecommitdiffstats
path: root/rules/dialog.make
blob: b3d45e2183a9d9ebd4be45d08861d928b9f80c40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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