summaryrefslogtreecommitdiffstats
path: root/rules/dialog.make
blob: d370bd052c8cd1b79be30a12f369967f4fdfce9e (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# -*-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.3-20171209
DIALOG_MD5	:= f66f28beca900b54f5fc90fdcce93508
DIALOG		:= dialog-$(DIALOG_VERSION)
DIALOG_SUFFIX	:= tgz
DIALOG_URL	:= ftp://ftp.invisible-island.net/dialog/$(DIALOG).$(DIALOG_SUFFIX)
DIALOG_SOURCE	:= $(SRCDIR)/$(DIALOG).$(DIALOG_SUFFIX)
DIALOG_DIR	:= $(BUILDDIR)/$(DIALOG)
DIALOG_LICENSE	:= LGPL-2.1-only

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

DIALOG_CONF_TOOL	:= autoconf
DIALOG_CONF_OPT		:= \
	$(CROSS_AUTOCONF_USR) \
	--enable-echo \
	$(GLOBAL_LARGE_FILE_OPTION) \
	--disable-nls \
	--disable-trace \
	--disable-rpath \
	--with-ncurses \
	--without-Xaw3d \
	--without-Xaw3dxft \
	--without-neXtaw \
	--without-XawPlus \
	--without-x \
	--enable-extras \
	--enable-rc-file \
	--enable-Xdialog \
	--enable-Xdialog2 \
	--enable-whiptail \
	--enable-form \
	--enable-gauge \
	--enable-tailbox \
	--enable-mixedform \
	--enable-mixedgauge \
	--enable-widec \
	--disable-rpath-hack

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

$(STATEDIR)/dialog.targetinstall:
	@$(call targetinfo)

	@$(call install_init,  dialog)
	@$(call install_fixup, dialog,PRIORITY,optional)
	@$(call install_fixup, dialog,SECTION,base)
	@$(call install_fixup, dialog,AUTHOR,"Bart vdr. Meulen <bartvdrmeulen@gmail.com>")
	@$(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