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
15 include ..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= dialog
18 COMPONENT_VERSION
= 1.3
19 COMPONENT_TIMESTAMP
= 20160209
20 COMPONENT_PROJECT_URL
= http
://invisible-island.net
/dialog
/dialog.html
21 COMPONENT_SUMMARY
= dialog
- display dialog boxes from
shell scripts
22 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)-$(COMPONENT_TIMESTAMP
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).tgz
24 COMPONENT_ARCHIVE_HASH
= \
25 sha256
:0314f7f2195edc58e7567a024dc1d658c2f8ea732796d8fa4b4927df49803f87
26 COMPONENT_ARCHIVE_URL
= ftp
://invisible-island.net
/dialog
/$(COMPONENT_ARCHIVE
)
27 COMPONENT_CLASSIFICATION
= Applications
/System Utilities
28 COMPONENT_LICENSE
= LGPLv2.1
29 COMPONENT_LICENSE_FILE
= COPYING
30 COMPONENT_FMRI
= terminal
/dialog
32 include $(WS_TOP
)/make-rules
/prep.mk
33 include $(WS_TOP
)/make-rules
/configure.mk
34 include $(WS_TOP
)/make-rules
/ips.mk
36 PATH
=/usr
/gnu
/bin
:/usr
/bin
38 CFLAGS
+= -I
/usr
/include/ncurses
-D_XOPEN_SOURCE_EXTENDED
39 LDFLAGS
+= -L
/usr
/gnu
/lib
-R
/usr
/gnu
/lib
-lncurses
41 CONFIGURE_OPTIONS
+= --enable-included-msgs
42 CONFIGURE_OPTIONS
+= --enable-nls
43 CONFIGURE_OPTIONS
+= --enable-widec
48 install: $(INSTALL_32
)
52 BUILD_PKG_DEPENDENCIES
= $(BUILD_TOOLS
)
54 include $(WS_TOP
)/make-rules
/depend.mk