component(developer/golang-123): Add Component
[oi-userland.git] / components / shell / tack / Makefile
bloba1b06a4c06a00d82df03f27cdb935ed708c7db5c
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 BUILD_BITS= 64
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= tack
19 COMPONENT_VERSION= 1.0.9
20 HUMAN_VERSION= 1.09
21 COMPONENT_REVISION= 1
22 COMPONENT_SUMMARY= TACK - terminfo action checker
23 COMPONENT_PROJECT_URL= https://www.gnu.org/software/ncurses/
24 COMPONENT_FMRI= terminal/tack
25 COMPONENT_CLASSIFICATION= Applications/System Utilities
26 COMPONENT_SRC= $(COMPONENT_NAME)-$(HUMAN_VERSION)
27 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
28 COMPONENT_ARCHIVE_HASH= sha256:8d6034fa48c73c52ddd356306837975e8c81c70da201714f8f860f556f09f6cf
29 COMPONENT_ARCHIVE_URL= ftp://ftp.invisible-island.net/ncurses/$(COMPONENT_ARCHIVE)
30 COMPONENT_LICENSE= GPLv2
32 TEST_TARGET= $(NO_TESTS)
33 include $(WS_MAKE_RULES)/common.mk
35 PATH=$(PATH.gnu)
37 # Missing files in build dir without this.
38 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
40 CONFIGURE_PREFIX = $(GNUDIR)
42 CFLAGS += -I/usr/include/ncurses
44 CONFIGURE_OPTIONS += --enable-widec
46 # Auto-generated dependencies
47 REQUIRED_PACKAGES += library/ncurses
48 REQUIRED_PACKAGES += system/library