libassuan: update to 2.5.1
[unleashed-userland.git] / components / library / libassuan / Makefile
blobd30d8c9686a1634bcd69e0e2bd06286d1b8c3b2b
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 (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.5.1
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:47f96c37b4f2aac289f0bc1bacfa8bd8b4b209a488d3d15e2229cb6cc9b26449
33 COMPONENT_ARCHIVE_URL= ftp://ftp.gnupg.org/gcrypt/libassuan/$(COMPONENT_ARCHIVE)
34 COMPONENT_SIG_URL= ftp://ftp.gnupg.org/gcrypt/libassuan/$(COMPONENT_ARCHIVE).sig
35 COMPONENT_BUGDB= utility/gnupg
37 include $(WS_MAKE_RULES)/prep.mk
38 include $(WS_MAKE_RULES)/configure.mk
39 include $(WS_MAKE_RULES)/ips.mk
41 CONFIGURE_BINDIR.64 = $(CONFIGURE_BINDIR.32)
43 CFLAGS+=-D_XPG6
45 CONFIGURE_ENV += INSTALL="$(INSTALL)"
47 CONFIGURE_OPTIONS += --localstatedir=/var
48 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
49 CONFIGURE_OPTIONS += --enable-shared
50 CONFIGURE_OPTIONS += --disable-static
51 CONFIGURE_OPTIONS += --with-gpg-error-prefix=$(CONFIGURE_PREFIX)
52 CONFIGURE_OPTIONS += --with-pic
54 build: $(BUILD_64)
56 install: $(INSTALL_64)
58 test: $(TEST_64)
60 REQUIRED_PACKAGES += core-os
61 REQUIRED_PACKAGES += library/security/libgpg-error
62 REQUIRED_PACKAGES += system/library