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]
21 # Copyright (c) 2013, Colin Ellis. All rights reserved.
22 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
24 include ..
/..
/..
/make-rules
/shared-macros.mk
26 COMPONENT_NAME
= libassuan
27 COMPONENT_VERSION
= 2.1.3
28 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
29 COMPONENT_PROJECT_URL
= http
://www.gnupg.org
/related_software
/libassuan
/
30 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
31 COMPONENT_ARCHIVE_HASH
= \
32 sha256
:fa2170b353c928eb59610e0700c34947f1890634ddf7bcf2366c9c88b4f51d1a
33 COMPONENT_ARCHIVE_URL
= ftp
://ftp.gnupg.org
/gcrypt
/libassuan
/$(COMPONENT_ARCHIVE
)
34 COMPONENT_BUGDB
= utility
/gnupg
36 include $(WS_MAKE_RULES
)/prep.mk
37 include $(WS_MAKE_RULES
)/configure.mk
38 include $(WS_MAKE_RULES
)/ips.mk
42 CONFIGURE_ENV
+= INSTALL
="$(INSTALL)"
44 CONFIGURE_OPTIONS
+= --localstatedir
=/var
45 CONFIGURE_OPTIONS
+= --infodir=$(CONFIGURE_INFODIR
)
46 CONFIGURE_OPTIONS
+= --enable-shared
47 CONFIGURE_OPTIONS
+= --disable-static
48 CONFIGURE_OPTIONS
+= --with-gpg-error-prefix
=$(CONFIGURE_PREFIX
)
49 CONFIGURE_OPTIONS
+= --with-pic
51 build
: $(BUILD_32_and_64
)
53 install: $(INSTALL_32_and_64
)
55 test: $(TEST_32_and_64
)
57 REQUIRED_PACKAGES
+= SUNWcs
58 REQUIRED_PACKAGES
+= library
/security
/libgpg-error
59 REQUIRED_PACKAGES
+= system
/library