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 2013, Aurelien Larcher. All rights reserved.
15 include ..
/..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= bash-completion
18 COMPONENT_VERSION
= 2.3
19 COMPONENT_FMRI
= utility
/$(COMPONENT_NAME
)
20 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
21 COMPONENT_PROJECT_URL
= https
://github.com
/scop
/bash-completion
22 COMPONENT_ARCHIVE
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
).
tar.xz
23 COMPONENT_ARCHIVE_HASH
= sha256
:b2e081af317f3da4fff3a332bfdbebeb5514ebc6c2d2a9cf781180acab15e8e9
24 COMPONENT_ARCHIVE_URL
= https
://github.com
/scop
/bash-completion
/releases
/download
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
25 COMPONENT_BUGDB
= $(COMPONENT_FMRI
)
26 COMPONENT_SUMMARY
= Programmable completion functions for bash
27 COMPONENT_CLASSIFICATION
= System
/Shells
29 COMPONENT_LICENSE
= GPLv2
30 COMPONENT_LICENSE_FILE
= $(COMPONENT_NAME
).license
32 include $(WS_MAKE_RULES
)/prep.mk
33 include $(WS_MAKE_RULES
)/configure.mk
34 include $(WS_MAKE_RULES
)/ips.mk
36 CONFIGURE_PREFIX
= /usr
38 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
42 install: $(INSTALL_32
)
44 BUILD_PKG_DEPENDENCIES
= $(BUILD_TOOLS
)
46 include $(WS_MAKE_RULES
)/depend.mk
48 REQUIRED_PACKAGES
+= shell/bash