perl/Module-Build-Tiny: update to 0.051 for Perl 5.36 and 5.38
[oi-userland.git] / components / perl / Mozilla-PublicSuffix / Makefile
blobc59e7b678f345b007a1cbe07b882b9ec804bd38f
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 # This file was automatically generated using the following command:
14 # $WS_TOOLS/perl-integrate-module Mozilla::PublicSuffix
17 BUILD_STYLE = modulebuild
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_PERL_MODULE = Mozilla::PublicSuffix
22 HUMAN_VERSION = 1.0.7
23 COMPONENT_REVISION = 1
24 COMPONENT_SUMMARY = Mozilla::PublicSuffix - Get a domain name's public suffix via the Mozilla Public Suffix List
25 COMPONENT_CPAN_AUTHOR = TOMHUKINS
26 COMPONENT_ARCHIVE_HASH = \
27 sha256:6815e292161ba8192b434398db295e229b3e61574e6a61994e90f359a2c71b21
28 COMPONENT_LICENSE = MIT
29 COMPONENT_LICENSE_FILE = LICENSE
31 COMPONENT_SRC = $(COMPONENT_NAME)-v$(HUMAN_VERSION)
33 include $(WS_MAKE_RULES)/common.mk
35 # sanity check to make sure we (still) update an existing file
36 COMPONENT_POST_UNPACK_ACTION += \
37 [ -f $(SOURCE_DIR)/effective_tld_names.dat ] || exit 1 ;
38 # Save the original data file
39 COMPONENT_POST_UNPACK_ACTION += \
40 $(CP) $(SOURCE_DIR)/effective_tld_names.dat $(SOURCE_DIR)/effective_tld_names.dat.orig ;
41 # use the up-to-date data file
42 COMPONENT_POST_UNPACK_ACTION += \
43 [ -f $(COMPONENT_DIR)/files/public_suffix_list.dat ] && \
44 $(CP) $(COMPONENT_DIR)/files/public_suffix_list.dat $(SOURCE_DIR)/effective_tld_names.dat ;
46 # Auto-generated dependencies
47 PERL_REQUIRED_PACKAGES += library/perl-5/module-build
48 PERL_REQUIRED_PACKAGES += library/perl-5/uri
49 PERL_REQUIRED_PACKAGES += runtime/perl