21 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
22 # |
22 # |
23 include ../../make-rules/shared-macros.mk |
23 include ../../make-rules/shared-macros.mk |
24 |
24 |
25 COMPONENT_NAME= gnupg |
25 COMPONENT_NAME= gnupg |
26 COMPONENT_VERSION= 2.0.22 |
26 COMPONENT_VERSION= 2.0.26 |
27 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
27 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
28 COMPONENT_PROJECT_URL= http://www.gnupg.org/ |
28 COMPONENT_PROJECT_URL= http://www.gnupg.org/ |
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
29 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
30 COMPONENT_ARCHIVE_HASH= \ |
30 COMPONENT_ARCHIVE_HASH= \ |
31 sha256:437d0ab259854359fc48aa8795af80cff4975e559c111c92c03d0bc91408e251 |
31 sha256:7758e30dc382ae7a7167ed41b7f936aa50af5ea2d6fccdef663b5b750b65b8e0 |
32 COMPONENT_ARCHIVE_URL= ftp://ftp.gnupg.org/gcrypt/gnupg/$(COMPONENT_ARCHIVE) |
32 COMPONENT_ARCHIVE_URL= ftp://ftp.gnupg.org/gcrypt/gnupg/$(COMPONENT_ARCHIVE) |
33 COMPONENT_BUGDB= utility/gnupg |
33 COMPONENT_BUGDB= utility/gnupg |
34 |
34 |
35 TPNO= 17706 |
35 TPNO= 21142 |
36 |
36 |
37 include $(WS_MAKE_RULES)/prep.mk |
37 include $(WS_MAKE_RULES)/prep.mk |
38 include $(WS_MAKE_RULES)/configure.mk |
38 include $(WS_MAKE_RULES)/configure.mk |
39 include $(WS_MAKE_RULES)/ips.mk |
39 include $(WS_MAKE_RULES)/ips.mk |
40 |
40 |
60 LD_OPTIONS += -z defs |
60 LD_OPTIONS += -z defs |
61 |
61 |
62 CONFIGURE_ENV += CFLAGS="$(CFLAGS)" |
62 CONFIGURE_ENV += CFLAGS="$(CFLAGS)" |
63 CONFIGURE_ENV += LDFLAGS="$(LDFLAGS)" |
63 CONFIGURE_ENV += LDFLAGS="$(LDFLAGS)" |
64 CONFIGURE_ENV += INSTALL="$(INSTALL)" |
64 CONFIGURE_ENV += INSTALL="$(INSTALL)" |
|
65 |
|
66 # Without this GnuPG's ./configure will complain that we're not using |
|
67 # GNU make. But we are. |
|
68 CONFIGURE_ENV += MAKE="$(GMAKE)" |
65 |
69 |
66 CONFIGURE_OPTIONS += --localstatedir=/var |
70 CONFIGURE_OPTIONS += --localstatedir=/var |
67 CONFIGURE_OPTIONS += --libexecdir=$(USRBINDIR) |
71 CONFIGURE_OPTIONS += --libexecdir=$(USRBINDIR) |
68 CONFIGURE_OPTIONS += --datadir=$(CONFIGURE_PREFIX)/share |
72 CONFIGURE_OPTIONS += --datadir=$(CONFIGURE_PREFIX)/share |
69 CONFIGURE_OPTIONS += --sysconfdir=/etc |
73 CONFIGURE_OPTIONS += --sysconfdir=/etc |