David Stes
2024-03-31 8cdd197ba643eb2608c5aab87567625bb9336cee
commit | author | age
ee6d45 1 #
MVW 2 # CDDL HEADER START
3 #
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.
7 #
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.
12 #
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]
18 #
19 # CDDL HEADER END
20 #
21
22 #
23 # Copyright (c) 2020, Oracle and/or its affiliates.
0a892b 24 # Copyright (c) 2021, Andreas Wacknitz.
ee6d45 25 #
fcbf52 26
06b91c 27 BUILD_BITS= 64
fcbf52 28 USE_DEFAULT_TEST_TRANSFORMS= yes
ee6d45 29 include ../../../make-rules/shared-macros.mk
MVW 30
31 COMPONENT_NAME=        c-ares
6c86bf 32 COMPONENT_VERSION=    1.28.1
0a892b 33 COMPONENT_SUMMARY=    c-ares - C library for asynchronous DNS requests
AW 34 COMPONENT_DESCRIPTION=    c-ares is a C library for asynchronous DNS requests including name resolves
ee6d45 35 COMPONENT_PROJECT_URL=    https://c-ares.haxx.se/
MVW 36 COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
37 COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
6c86bf 38 COMPONENT_ARCHIVE_HASH= sha256:675a69fc54ddbf42e6830bc671eeb6cd89eeca43828eb413243fd2c0a760809d
ee6d45 39 COMPONENT_ARCHIVE_URL=    https://c-ares.haxx.se/download/$(COMPONENT_ARCHIVE)
0a892b 40 COMPONENT_FMRI=        library/libcares
AW 41 COMPONENT_CLASSIFICATION=    System/Libraries
8f39f1 42 COMPONENT_LICENSE=        MIT
f03572 43 COMPONENT_LICENSE_FILE=    LICENSE.md
ee6d45 44
783118 45 # We don't have Googletest.
AW 46 TEST_TARGET= $(NO_TESTS)
ee6d45 47 include $(WS_MAKE_RULES)/common.mk
0a892b 48
593d88 49 CFLAGS += $(XPG6MODE)
AW 50
51 CONFIGURE_OPTIONS += --enable-static=no
1602d1 52 CONFIGURE_OPTIONS += --disable-dependency-tracking
0a892b 53
ee6d45 54 # Auto-generated dependencies
MVW 55 REQUIRED_PACKAGES += system/library