components/gpgme/Makefile
changeset 4296 f17a315fb096
parent 3817 30b42c38bbc4
child 4339 6501cf9c29f9
equal deleted inserted replaced
4295:8e6a71e8754b 4296:f17a315fb096
    23 include ../../make-rules/shared-macros.mk
    23 include ../../make-rules/shared-macros.mk
    24 
    24 
    25 PATH = /usr/gnu/bin:/usr/bin
    25 PATH = /usr/gnu/bin:/usr/bin
    26 
    26 
    27 COMPONENT_NAME=		gpgme
    27 COMPONENT_NAME=		gpgme
    28 COMPONENT_VERSION=	1.1.8
    28 COMPONENT_VERSION=	1.5.3
    29 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    29 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    30 COMPONENT_PROJECT_URL=	http://www.gnupg.org/related_software/gpgme/
    30 COMPONENT_PROJECT_URL=	http://www.gnupg.org/related_software/gpgme/
    31 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
    31 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
    32 COMPONENT_ARCHIVE_HASH=	\
    32 COMPONENT_ARCHIVE_HASH=	\
    33     sha256:0f73a219e0b389f25c8d9b563eb8e0a9ffd9dd038d91b572eaf0ea33beff05e2
    33     sha256:0db040c5b07e69cfe9a0b4566c8e90151ebacfe122c97c452f11386654aefcc9
    34 COMPONENT_ARCHIVE_URL=	ftp://ftp.gnupg.org/gcrypt/gpgme/$(COMPONENT_ARCHIVE)
    34 COMPONENT_ARCHIVE_URL=	ftp://ftp.gnupg.org/gcrypt/gpgme/$(COMPONENT_ARCHIVE)
    35 COMPONENT_BUGDB=	utility/gnupg
    35 COMPONENT_BUGDB=	utility/gnupg
    36 
    36 
    37 TPNO=			8637
    37 TPNO=			21167
    38 
    38 
    39 include $(WS_MAKE_RULES)/prep.mk
    39 include $(WS_MAKE_RULES)/prep.mk
    40 include $(WS_MAKE_RULES)/configure.mk
    40 include $(WS_MAKE_RULES)/configure.mk
    41 include $(WS_MAKE_RULES)/ips.mk
    41 include $(WS_MAKE_RULES)/ips.mk
    42 
    42 
    62 
    62 
    63 CONFIGURE_OPTIONS  +=		--localstatedir=/var
    63 CONFIGURE_OPTIONS  +=		--localstatedir=/var
    64 CONFIGURE_OPTIONS  +=		--infodir=$(CONFIGURE_INFODIR)
    64 CONFIGURE_OPTIONS  +=		--infodir=$(CONFIGURE_INFODIR)
    65 CONFIGURE_OPTIONS  +=		--enable-shared
    65 CONFIGURE_OPTIONS  +=		--enable-shared
    66 CONFIGURE_OPTIONS  +=		--disable-static
    66 CONFIGURE_OPTIONS  +=		--disable-static
       
    67 CONFIGURE_OPTIONS  +=		--disable-silent-rules
    67 CONFIGURE_OPTIONS  +=		--with-gpg-error-prefix=$(CONFIGURE_PREFIX)
    68 CONFIGURE_OPTIONS  +=		--with-gpg-error-prefix=$(CONFIGURE_PREFIX)
    68 CONFIGURE_OPTIONS  +=		--enable-largefile
    69 CONFIGURE_OPTIONS  +=		--enable-largefile
    69 CONFIGURE_OPTIONS  +=		--with-pth=$(CONFIGURE_PREFIX)
    70 CONFIGURE_OPTIONS  +=		--enable-gpg-test
    70 CONFIGURE_OPTIONS  +=		--disable-gpg-test
    71 CONFIGURE_OPTIONS  +=		--enable-gpgsm-test
    71 CONFIGURE_OPTIONS  +=		--disable-gpgsm-test
    72 CONFIGURE_OPTIONS  +=		--enable-gpgconf-test
    72 CONFIGURE_OPTIONS  +=		--disable-gpgconf-test
    73 CONFIGURE_OPTIONS  +=		--with-libgpg-error-prefix=$(CONFIGURE_PREFIX)
    73 CONFIGURE_OPTIONS  +=		--with-gpg=$(USRBINDIR)/gpg2
    74 CONFIGURE_OPTIONS  +=		--with-libassuan-prefix=$(CONFIGURE_PREFIX)
    74 CONFIGURE_OPTIONS  +=		--with-gpgsm=$(USRBINDIR)/gpgsm
       
    75 CONFIGURE_OPTIONS  +=		--with-gpgconf=$(USRBINDIR)/gpgconf
       
    76 CONFIGURE_OPTIONS  +=		--with-pic
    75 CONFIGURE_OPTIONS  +=		--with-pic
    77 
    76 
    78 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
    77 ASLR_MODE = $(ASLR_ENABLE)
    79 
    78 
    80 configure:	$(CONFIGURE_32_and_64)
    79 configure:	$(CONFIGURE_32_and_64)
    81 
    80 
    82 build: $(BUILD_32_and_64)
    81 build: $(BUILD_32_and_64)
    83 
    82 
    84 install: $(INSTALL_32_and_64)
    83 install: $(INSTALL_32_and_64)
    85 
    84 
    86 test: $(TEST_32_and_64)
    85 # Although building and running the GpgME tests is enabled, GpgME's
       
    86 # Test Harness is not suitable for running in an automated test
       
    87 # environment. The GpgME tests require interactive, manual input
       
    88 # from the tty as well as system configuration changes.
       
    89 # The GpgME Test Harness can only be run manually, and interactively
       
    90 # from a terminal.
       
    91 test: $(NO_TESTS)
    87 
    92 
    88 
       
    89 REQUIRED_PACKAGES += library/pth
       
    90 REQUIRED_PACKAGES += library/security/libgpg-error
    93 REQUIRED_PACKAGES += library/security/libgpg-error
       
    94 REQUIRED_PACKAGES += library/security/libassuan
    91 REQUIRED_PACKAGES += shell/ksh93
    95 REQUIRED_PACKAGES += shell/ksh93
    92 REQUIRED_PACKAGES += system/library
    96 REQUIRED_PACKAGES += system/library
    93 REQUIRED_PACKAGES += system/linker
    97 REQUIRED_PACKAGES += system/linker