jenkins-core-weekly: update to 2.491
[oi-userland.git] / components / library / libgpg-error / Makefile
blob4914a535d6124e399d61f152aacfa3a49d3f5fb3
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
21 # Copyright 2013 Colin Ellis. All rights reserved.
22 # Copyright 2011 Audioboo Ltd. All rights reserved.
23 # Copyright 2019 Michal Nowak
26 BUILD_BITS= 64_and_32
27 USE_DEFAULT_TEST_TRANSFORMS= yes
28 include ../../../make-rules/shared-macros.mk
30 COMPONENT_NAME= libgpg-error
31 COMPONENT_VERSION= 1.51
32 COMPONENT_SUMMARY= GnuPG Error Library
33 COMPONENT_PROJECT_URL= https://www.gnupg.org/related_software/libgpg-error/
34 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
35 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
36 COMPONENT_ARCHIVE_HASH= sha256:be0f1b2db6b93eed55369cdf79f19f72750c8c7c39fc20b577e724545427e6b2
37 COMPONENT_ARCHIVE_URL= https://gnupg.org/ftp/gcrypt/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
38 COMPONENT_FMRI= library/security/$(COMPONENT_NAME)
39 COMPONENT_CLASSIFICATION= System/Security
40 COMPONENT_LICENSE= LGPLv2.1
41 COMPONENT_LICENSE_FILE= COPYING.LIB
43 include $(WS_MAKE_RULES)/common.mk
45 PATH= $(PATH.gnu)
47 CFLAGS += $(XPG6MODE)
48 CFLAGS += -D_POSIX_PTHREAD_SEMANTICS
50 COMPONENT_PREP_ACTION= ( cd $(@D) && PATH="$(PATH)" autoreconf -fi )
52 CONFIGURE_OPTIONS += --disable-static
53 CONFIGURE_OPTIONS += --enable-shared
54 CONFIGURE_OPTIONS += --enable-threads=posix
55 CONFIGURE_OPTIONS += --enable-install-gpg-error-config
57 # Auto-generated dependencies
58 REQUIRED_PACKAGES += shell/ksh93
59 REQUIRED_PACKAGES += system/library
60 REQUIRED_PACKAGES += system/xopen/xcu4