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 2011, 2013, EveryCity Ltd. All rights reserved.
13 # Copyright 2019, Michal Nowak
14 # Copyright 2019, Solene Rapenne
15 # Copyright 2020, Nona Hansel
18 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_VERSION
= 3.4
22 COMPONENT_SUMMARY
= tmux terminal multiplexer
23 COMPONENT_PROJECT_URL
= https
://$(COMPONENT_NAME
).github.io
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(HUMAN_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
26 COMPONENT_ARCHIVE_HASH
= sha256
:551ab8dea0bf505c0ad6b7bb35ef567cdde0ccb84357df142c254f35a23e19aa
27 COMPONENT_ARCHIVE_URL
= https
://github.com
/tmux
/tmux
/releases
/download
/$(HUMAN_VERSION
)/$(COMPONENT_ARCHIVE
)
28 COMPONENT_FMRI
= terminal
/tmux
29 COMPONENT_CLASSIFICATION
= Applications
/System Utilities
30 COMPONENT_LICENSE_FILE
= COPYING
31 COMPONENT_LICENSE
= BSD
33 TEST_TARGET
= $(NO_TESTS
)
34 include $(WS_MAKE_RULES
)/common.mk
36 CFLAGS
+= -I
/usr
/include/ncurses
38 COMPONENT_PREP_ACTION
= (cd
$(@D
) ; autoreconf
-f
-i
)
40 CONFIGURE_OPTIONS
+= --enable-utempter
41 CONFIGURE_OPTIONS
+= LIBS
="-lncurses"
43 # Auto-generated dependencies
44 REQUIRED_PACKAGES
+= library
/libevent2
45 REQUIRED_PACKAGES
+= library
/ncurses
46 REQUIRED_PACKAGES
+= system
/library
47 REQUIRED_PACKAGES
+= system
/library
/libutempter
48 REQUIRED_PACKAGES
+= system
/library
/math