components/pinentry/Makefile
changeset 6373 2499cc045aa1
parent 6302 78e32c666cb4
child 7687 1093e2a9adbd
equal deleted inserted replaced
6372:8dc598b3e3c3 6373:2499cc045aa1
    35     sha256:6398208394972bbf897c3325780195584682a0d0c164ca5a0da35b93b1e4e7b2
    35     sha256:6398208394972bbf897c3325780195584682a0d0c164ca5a0da35b93b1e4e7b2
    36 COMPONENT_ARCHIVE_URL=	ftp://ftp.gnupg.org/gcrypt/pinentry/$(COMPONENT_ARCHIVE)
    36 COMPONENT_ARCHIVE_URL=	ftp://ftp.gnupg.org/gcrypt/pinentry/$(COMPONENT_ARCHIVE)
    37 COMPONENT_BUGDB=	utility/gnupg
    37 COMPONENT_BUGDB=	utility/gnupg
    38 
    38 
    39 TPNO=			26271
    39 TPNO=			26271
       
    40 
       
    41 # Requires updated version of gtk2, not available on S11.
       
    42 ifeq ($(BUILD_TYPE), evaluation)
       
    43 BUILD_64=
       
    44 INSTALL_64=
       
    45 PUBLISH_STAMP=
       
    46 endif
    40 
    47 
    41 INSTALL_TARGET=
    48 INSTALL_TARGET=
    42 TEST_TARGET= $(NO_TESTS)
    49 TEST_TARGET= $(NO_TESTS)
    43 include $(WS_MAKE_RULES)/common.mk
    50 include $(WS_MAKE_RULES)/common.mk
    44 
    51 
    85 CONFIGURE_OPTIONS  +=		--disable-pinentry-qt
    92 CONFIGURE_OPTIONS  +=		--disable-pinentry-qt
    86 CONFIGURE_OPTIONS  +=		--disable-ncurses
    93 CONFIGURE_OPTIONS  +=		--disable-ncurses
    87 CONFIGURE_OPTIONS  +=		--disable-libsecret
    94 CONFIGURE_OPTIONS  +=		--disable-libsecret
    88 
    95 
    89 install: $(INSTALL_64)
    96 install: $(INSTALL_64)
       
    97 ifneq ($(BUILD_TYPE), evaluation)
    90 	$(MKDIR) $(PROTOUSRLIBDIR)
    98 	$(MKDIR) $(PROTOUSRLIBDIR)
    91 	if test -f $(PROTOUSRBINDIR)/pinentry-curses ; then \
    99 	if test -f $(PROTOUSRBINDIR)/pinentry-curses ; then \
    92 	$(MV) $(PROTOUSRBINDIR)/pinentry-curses $(PROTOUSRLIBDIR)/ ; fi
   100 	$(MV) $(PROTOUSRBINDIR)/pinentry-curses $(PROTOUSRLIBDIR)/ ; fi
    93 	if test -f $(PROTOUSRBINDIR)/pinentry-gtk-2 ; then \
   101 	if test -f $(PROTOUSRBINDIR)/pinentry-gtk-2 ; then \
    94 	$(MV) $(PROTOUSRBINDIR)/pinentry-gtk-2 $(PROTOUSRLIBDIR)/ ; fi
   102 	$(MV) $(PROTOUSRBINDIR)/pinentry-gtk-2 $(PROTOUSRLIBDIR)/ ; fi
    95 	cd $(PROTOUSRLIBDIR) && ln -sf pinentry-gtk-2 pinentry
   103 	cd $(PROTOUSRLIBDIR) && ln -sf pinentry-gtk-2 pinentry
       
   104 endif
    96 
   105 
    97 REQUIRED_PACKAGES += library/desktop/gtk2
   106 REQUIRED_PACKAGES += library/desktop/gtk2
    98 REQUIRED_PACKAGES += library/glib2
   107 REQUIRED_PACKAGES += library/glib2
    99 REQUIRED_PACKAGES += library/security/libassuan
   108 REQUIRED_PACKAGES += library/security/libassuan
   100 REQUIRED_PACKAGES += library/security/libgpg-error
   109 REQUIRED_PACKAGES += library/security/libgpg-error