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]
23 # Copyright (c) 2013, Colin Ellis. All rights reserved.
24 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
25 # Copyright (c) 2019, Michal Nowak
26 # Copyright (c) 2020, Andreas Wacknitz
30 USE_DEFAULT_TEST_TRANSFORMS
= yes
31 include ..
/..
/..
/make-rules
/shared-macros.mk
33 COMPONENT_NAME
= libassuan
34 COMPONENT_VERSION
= 3.0.1
35 COMPONENT_SUMMARY
= GnuPG IPC implementation library
36 COMPONENT_DESCRIPTION
= A small library implementing the so-called Assuan protocol
, \
37 used for interprocess communication between most GnuPG components.
38 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
39 COMPONENT_PROJECT_URL
= https
://www.gnupg.org
/related_software
/libassuan
/
40 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
41 COMPONENT_ARCHIVE_HASH
= sha256
:c8f0f42e6103dea4b1a6a483cb556654e97302c7465308f58363778f95f194b1
42 COMPONENT_ARCHIVE_URL
= https
://www.gnupg.org
/ftp
/gcrypt
/libassuan
/$(COMPONENT_ARCHIVE
)
43 COMPONENT_FMRI
= library
/security
/libassuan
44 COMPONENT_CLASSIFICATION
= System
/Libraries
45 COMPONENT_LICENSE
= GPLv3
, LGPLv2
47 include $(WS_MAKE_RULES
)/common.mk
49 CONFIGURE_ENV
+= INSTALL
="$(INSTALL)"
51 CONFIGURE_OPTIONS
+= --localstatedir
=$(VARDIR
)
52 CONFIGURE_OPTIONS
+= --infodir=$(CONFIGURE_INFODIR
)
53 CONFIGURE_OPTIONS
+= --enable-shared
54 CONFIGURE_OPTIONS
+= --disable-static
55 CONFIGURE_OPTIONS
+= --disable-silent-rules
56 CONFIGURE_OPTIONS
+= --with-gpg-error-prefix
=$(CONFIGURE_PREFIX
)
57 CONFIGURE_OPTIONS
+= --with-pic
59 # Auto-generated dependencies
60 REQUIRED_PACKAGES
+= library
/security
/libgpg-error
61 REQUIRED_PACKAGES
+= shell/ksh93
62 REQUIRED_PACKAGES
+= system
/library