2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2016 Alexander Pyhalov
13 # Copyright 2018 Michal Nowak
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= dialog
21 COMPONENT_VERSION
= 1.3
22 COMPONENT_TIMESTAMP
= 20180621
24 COMPONENT_PROJECT_URL
= http
://invisible-island.net
/dialog
/dialog.html
25 COMPONENT_SUMMARY
= dialog
- display dialog boxes from
shell scripts
26 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)-$(COMPONENT_TIMESTAMP
)
27 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).tgz
28 COMPONENT_ARCHIVE_HASH
= \
29 sha256
:4a4859e2b22d24e46c1a529b5a5605b95503aa04da4432f7bbd713e3e867587a
30 COMPONENT_ARCHIVE_URL
= https
://invisible-mirror.net
/archives
/dialog
/$(COMPONENT_ARCHIVE
)
31 COMPONENT_SIG_URL
= https
://invisible-mirror.net
/archives
/dialog
/$(COMPONENT_ARCHIVE
).asc
32 COMPONENT_CLASSIFICATION
= Applications
/System Utilities
33 COMPONENT_LICENSE
= LGPLv2.1
34 COMPONENT_LICENSE_FILE
= COPYING
35 COMPONENT_FMRI
= terminal
/dialog
37 include $(WS_MAKE_RULES
)/prep.mk
38 include $(WS_MAKE_RULES
)/configure.mk
39 include $(WS_MAKE_RULES
)/ips.mk
43 CFLAGS
+= -I
/usr
/include/ncurses
-D_XOPEN_SOURCE_EXTENDED
44 LDFLAGS
+= -L
/usr
/gnu
/lib
-R
/usr
/gnu
/lib
-lncurses
46 CONFIGURE_OPTIONS
+= --enable-included-msgs
47 CONFIGURE_OPTIONS
+= --enable-nls
48 CONFIGURE_OPTIONS
+= --enable-widec
52 install: $(INSTALL_64
)
56 # Auto-generated dependencies
57 REQUIRED_PACKAGES
+= library
/ncurses
58 REQUIRED_PACKAGES
+= system
/library
59 REQUIRED_PACKAGES
+= system
/library
/math