shared-macros.mk: simplify java settings
[oi-userland.git] / components / sysutils / rlwrap / Makefile
blob389f319a1b8d143d3a190dbfad6ffdc1642dda96
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 2024 Andreas Wacknitz
15 USE_DEFAULT_TEST_TRANSFORMS= yes
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= rlwrap
19 COMPONENT_VERSION= 0.46.1
20 COMPONENT_SUMMARY= rlwrap is a small utility that uses the GNU Readline library to allow the editing of keyboard input for any command
21 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
22 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
23 COMPONENT_ARCHIVE_HASH= sha256:c537e8a53df36f1f996601d776203478ad56fab1d67b3c1a63057badb0851cec
24 COMPONENT_PROJECT_URL= https://github.com/hanslub42/rlwrap
25 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/archive/refs/tags/$(COMPONENT_VERSION).tar.gz
26 COMPONENT_FMRI= utility/$(COMPONENT_NAME)
27 COMPONENT_CLASSIFICATION= Applications/System Utilities
28 COMPONENT_LICENSE= GPLv2
29 COMPONENT_LICENSE_FILE= COPYING
31 include $(WS_MAKE_RULES)/common.mk
33 COMPONENT_PREP_ACTION = ( cd $(@D) ; autoreconf -fiv )
35 COMPONENT_PRE_CONFIGURE_ACTION += ( $(CLONEY) $(SOURCE_DIR) $(@D); )
37 CFLAGS += $(CPP_LARGEFILES)
38 CFLAGS += $(XPG6MODE)
40 # Auto-generated dependencies
41 REQUIRED_PACKAGES += $(READLINE_PKG)
42 REQUIRED_PACKAGES += system/library