gcc-6: don't ship info pages
[unleashed-userland.git] / components / sysutils / gpgme / Makefile
blob0684eb14d9261866328c333cced17f982f54152b
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) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
23 include ../../../make-rules/shared-macros.mk
25 PATH = /usr/gnu/bin:/usr/bin
27 COMPONENT_NAME= gpgme
28 COMPONENT_VERSION= 1.1.8
29 COMPONENT_REVISION= 1
30 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
31 COMPONENT_PROJECT_URL= http://www.gnupg.org/related_software/gpgme/
32 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
33 COMPONENT_ARCHIVE_HASH= \
34 sha256:0f73a219e0b389f25c8d9b563eb8e0a9ffd9dd038d91b572eaf0ea33beff05e2
35 COMPONENT_ARCHIVE_URL= ftp://ftp.gnupg.org/gcrypt/gpgme/$(COMPONENT_ARCHIVE)
36 COMPONENT_BUGDB= utility/gnupg
38 include $(WS_MAKE_RULES)/prep.mk
39 include $(WS_MAKE_RULES)/configure.mk
40 include $(WS_MAKE_RULES)/ips.mk
42 PATCH_LEVEL = 0
44 CFLAGS += $(CPP_LARGEFILES)
45 CFLAGS += $(XPG6MODE)
46 CFLAGS += $(CPP_POSIX)
47 CFLAGS += $(CPP_C99_EXTENDED_MATH)
48 CFLAGS += $(gcc_C99_ENABLE)
50 CONFIGURE_ENV += CFLAGS="$(CFLAGS)"
51 CONFIGURE_ENV += INSTALL="$(INSTALL)"
53 CONFIGURE_OPTIONS += --localstatedir=/var
54 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
55 CONFIGURE_OPTIONS += --enable-shared
56 CONFIGURE_OPTIONS += --disable-static
57 CONFIGURE_OPTIONS += --with-gpg-error-prefix=$(CONFIGURE_PREFIX)
58 CONFIGURE_OPTIONS += --enable-largefile
59 CONFIGURE_OPTIONS += --with-pth=$(CONFIGURE_PREFIX)
60 CONFIGURE_OPTIONS += --disable-gpg-test
61 CONFIGURE_OPTIONS += --disable-gpgsm-test
62 CONFIGURE_OPTIONS += --disable-gpgconf-test
63 CONFIGURE_OPTIONS += --with-gpg=$(USRBINDIR)/gpg2
64 CONFIGURE_OPTIONS += --with-gpgsm=$(USRBINDIR)/gpgsm
65 CONFIGURE_OPTIONS += --with-gpgconf=$(USRBINDIR)/gpgconf
66 CONFIGURE_OPTIONS += --with-pic
68 build: $(BUILD_32_and_64)
70 install: $(INSTALL_32_and_64)
72 test: $(TEST_32_and_64)
74 REQUIRED_PACKAGES += SUNWcs
75 REQUIRED_PACKAGES += library/pth
76 REQUIRED_PACKAGES += library/security/libgpg-error
77 REQUIRED_PACKAGES += system/library