rebuild ffmpeg for libvpx-1.15.0; fix gcc-14 problem; add patch for new
[oi-userland.git] / components / sysutils / screen / Makefile
blobb4899ccec8077c37e6dfa826bd1970d17b06571d
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
22 # Copyright (c) 2016, Adam Stevko. All rights reserved.
23 # Copyright (c) 2020, Michal Nowak
26 BUILD_BITS= 64
27 include ../../../make-rules/shared-macros.mk
29 COMPONENT_NAME= screen
30 COMPONENT_VERSION= 4.9.1
31 COMPONENT_REVISION= 3
32 COMPONENT_SUMMARY= GNU Screen terminal multiplexer
33 COMPONENT_PROJECT_URL= https://www.gnu.org/software/screen/
34 COMPONENT_FMRI= terminal/screen
35 COMPONENT_CLASSIFICATION= Applications/System Utilities
36 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
37 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
38 COMPONENT_ARCHIVE_HASH= sha256:26cef3e3c42571c0d484ad6faf110c5c15091fbf872b06fa7aa4766c7405ac69
39 COMPONENT_ARCHIVE_URL= https://ftp.gnu.org/gnu/screen/$(COMPONENT_ARCHIVE)
40 COMPONENT_SIG_URL= $(COMPONENT_ARCHIVE_URL).sig
41 COMPONENT_LICENSE= GPLv3+
42 COMPONENT_LICENSE_FILE= COPYING
44 TEST_TARGET= $(NO_TESTS)
45 include $(WS_MAKE_RULES)/common.mk
47 CFLAGS += $(CPP_XPG6MODE)
48 LDFLAGS += -lutempter
50 COMPONENT_PREP_ACTION += ( cd $(@D) ; $(CONFIG_SHELL) autogen.sh );
52 CONFIGURE_OPTIONS += --enable-colors256
53 CONFIGURE_OPTIONS += --with-sys-screenrc=/etc/screenrc
54 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
56 PROTOTERMINFODIR= $(PROTOUSRSHAREDIR)/lib/terminfo
58 $(PROTOTERMINFODIR):
59 $(MKDIR) $@
61 $(INSTALL_64): $(PROTOTERMINFODIR)
63 # Build dependencies
64 REQUIRED_PACKAGES += text/texinfo
66 # Auto-generated dependencies
67 REQUIRED_PACKAGES += system/library
68 REQUIRED_PACKAGES += system/library/libutempter