jenkins-core-weekly: update to 2.491
[oi-userland.git] / components / library / idnkit / Makefile
blob7dc551c2d137e3433c387680ac5418de985fb68c
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
23 # Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
26 BUILD_BITS= 64_and_32
27 include ../../../make-rules/shared-macros.mk
29 COMPONENT_NAME= idnkit
30 COMPONENT_VERSION= 2.3
31 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
32 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
33 COMPONENT_PROJECT_URL= https://jprs.co.jp/idn
34 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
35 COMPONENT_ARCHIVE_HASH= sha256:26d07117650042ab4693f0e00960275d58a1be773e6d13c503ba384710f3e97e
36 COMPONENT_ARCHIVE_URL= https://jprs.co.jp/idn/$(COMPONENT_ARCHIVE)
37 COMPONENT_FMRI= library/idnkit
38 COMPONENT_CLASSIFICATION= System/Internationalization
39 COMPONENT_LICENSE= JPRS
40 COMPONENT_LICENSE_FILE= LICENSE.txt
43 include $(WS_MAKE_RULES)/common.mk
45 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
47 CFLAGS += -DSUN_CHANGE
49 CONFIGURE_OPTIONS += --with-iconv=no
51 COMPONENT_BUILD_TARGETS = all info
53 # Note a few tests fail or are skipped since they expect the config files to
54 # be installed in /etc
56 COMPONENT_PRE_TEST_ACTION = (cp $(SOURCE_DIR)/test/normalization/*.conf \
57 $(BUILD_DIR_$(BITS))/test/normalization/ && \
58 cp $(SOURCE_DIR)/test/loadconf/no-newline.conf \
59 $(BUILD_DIR_$(BITS))/test/loadconf )
62 COMPONENT_TEST_TRANSFORMS += \
63 '-n ' \
64 '-e "/^PASS/p" ' \
65 '-e "/^All/p" ' \
66 '-e "/^SKIP/p" ' \
67 '-e "/FAIL:/p" ' \
68 '-e "/ERROR:/p" '
71 # Auto-generated dependencies
72 REQUIRED_PACKAGES += shell/ksh93
73 REQUIRED_PACKAGES += system/library