curl: update to 8.11.1
[oi-userland.git] / make-rules / makemaker-defaults.mk
blobbc2fa8e32418bfe245a8aa31d9ce38d2f278e991
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2022 Marcel Telka
16 # Component defaults
17 COMPONENT_VERSION ?= $(shell $(WS_TOOLS)/perl-version-convert $(COMPONENT_NAME) $(patsubst v%,%,$(HUMAN_VERSION)))
18 COMPONENT_CLASSIFICATION ?= Development/Perl
19 COMPONENT_SRC ?= $(COMPONENT_NAME)-$(HUMAN_VERSION)
20 COMPONENT_ARCHIVE ?= $(COMPONENT_SRC).tar.gz
21 COMPONENT_FMRI ?= library/perl-5/$(shell echo $(COMPONENT_NAME) | tr [A-Z] [a-z])
22 ifneq ($(strip $(COMPONENT_PERL_MODULE)),)
23 COMPONENT_PERL_DISTRIBUTION ?= $(subst ::,-,$(COMPONENT_PERL_MODULE))
24 COMPONENT_PROJECT_URL ?= https://metacpan.org/pod/$(COMPONENT_PERL_MODULE)
25 endif
26 ifneq ($(strip $(COMPONENT_PERL_DISTRIBUTION)),)
27 COMPONENT_NAME ?= $(COMPONENT_PERL_DISTRIBUTION)
28 endif
29 COMPONENT_PROJECT_URL ?= https://metacpan.org/dist/$(COMPONENT_NAME)
30 ifneq ($(strip $(COMPONENT_CPAN_AUTHOR)),)
31 COMPONENT_CPAN_AUTHOR1 = $(shell echo $(COMPONENT_CPAN_AUTHOR) | cut -c 1)
32 COMPONENT_CPAN_AUTHOR2 = $(shell echo $(COMPONENT_CPAN_AUTHOR) | cut -c 1-2)
33 COMPONENT_CPAN_AUTHOR_URL = $(COMPONENT_CPAN_AUTHOR1)/$(COMPONENT_CPAN_AUTHOR2)/$(COMPONENT_CPAN_AUTHOR)
34 COMPONENT_ARCHIVE_URL ?= https://cpan.metacpan.org/authors/id/$(COMPONENT_CPAN_AUTHOR_URL)/$(COMPONENT_ARCHIVE)
35 endif
36 # Enable ASLR by default. Component could disable ASLR by setting
37 # COMPONENT_ASLR to 'no'.
38 ifeq ($(strip $(COMPONENT_ASLR)),no)
39 ASLR_MODE = $(ASLR_DISABLE)
40 else
41 ASLR_MODE = $(ASLR_ENABLE)
42 endif
44 # By default we build Perl modules for all supported Perl versions
45 SINGLE_PERL_VERSION ?= no