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.5.1
23 COMPONENT_SUMMARY
= tmux terminal multiplexer
24 COMPONENT_PROJECT_URL
= https
://$(COMPONENT_NAME
).github.io
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(HUMAN_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
27 COMPONENT_ARCHIVE_HASH
= sha256
:16216bd0877170dfcc64157085ba9013610b12b082548c7c9542cc0103198951
28 COMPONENT_ARCHIVE_URL
= https
://github.com
/tmux
/tmux
/releases
/download
/$(HUMAN_VERSION
)/$(COMPONENT_ARCHIVE
)
29 COMPONENT_FMRI
= terminal
/tmux
30 COMPONENT_CLASSIFICATION
= Applications
/System Utilities
31 COMPONENT_LICENSE_FILE
= COPYING
32 COMPONENT_LICENSE
= BSD
34 TEST_TARGET
= $(NO_TESTS
)
35 include $(WS_MAKE_RULES
)/common.mk
37 CFLAGS
+= -I
/usr
/include/ncurses
39 COMPONENT_PREP_ACTION
= ( cd
$(@D
) ; autoreconf
-fiv
)
41 CONFIGURE_OPTIONS
+= --enable-utempter
42 CONFIGURE_OPTIONS
+= LIBS
="-lncurses"
44 # Auto-generated dependencies
45 REQUIRED_PACKAGES
+= library
/libevent2
46 REQUIRED_PACKAGES
+= library
/ncurses
47 REQUIRED_PACKAGES
+= system
/library
48 REQUIRED_PACKAGES
+= system
/library
/libutempter
49 REQUIRED_PACKAGES
+= system
/library
/math