python/hypothesis: update to 6.122.3
[oi-userland.git] / components / shell / bash-completion / Makefile
blob8495f91135ec185701f3a21415b202b7ae5cc75f
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 (c) 2013-2017, Aurelien Larcher. All rights reserved.
13 # Copyright (c) 2020, Michal Nowak
14 # Copyright (c) 2021, Nona Hansel
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= bash-completion
20 COMPONENT_VERSION= 2.15.0
21 COMPONENT_SUMMARY= Programmable completion functions for bash
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_PROJECT_URL= https://github.com/scop/bash-completion
24 COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.xz
25 COMPONENT_ARCHIVE_HASH= sha256:976a62ee6226970283cda85ecb9c7a4a88f62574c0a6f9e856126976decf1a06
26 COMPONENT_ARCHIVE_URL= https://github.com/scop/bash-completion/releases/download/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
27 COMPONENT_FMRI= utility/$(COMPONENT_NAME)
28 COMPONENT_CLASSIFICATION=System/Shells
29 COMPONENT_LICENSE= GPLv2
30 COMPONENT_LICENSE_FILE= COPYING
32 # Fetch OpenIndiana/openindiana-completions project with
33 # OpenIndiana-specific bash completions.
34 COMPONENT_OI_COMPLETIONS_COMMIT=a3bf8152286ea1156866f81b53ac943d8ace25ea
35 COMPONENT_ARCHIVE_1= $(COMPONENT_OI_COMPLETIONS_COMMIT).zip
36 COMPONENT_ARCHIVE_HASH_1= sha256:a62a1d76cc08b13094fb38789683ec6bb885283199fbb539146e11429798a68a
37 COMPONENT_ARCHIVE_URL_1= https://github.com/OpenIndiana/openindiana-completions/archive/$(COMPONENT_ARCHIVE_1)
39 TEST_TARGET= $(NO_TESTS)
40 include $(WS_MAKE_RULES)/common.mk
42 COMPONENT_POST_UNPACK_ACTION= ( unzip -jo $(USERLAND_ARCHIVES)$(COMPONENT_ARCHIVE_1) -d $(@D)/completions/ )
44 # Because of openindiana-completions patch
45 COMPONENT_PREP_ACTION= ( cd $(@D) && autoreconf -fi )
47 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
49 # Auto-generated dependencies
50 REQUIRED_PACKAGES += shell/bash
51 REQUIRED_PACKAGES += text/gnu-grep
52 REQUIRED_PACKAGES += text/gnu-sed