aaffd209fa
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
52 lines
1.5 KiB
Makefile
52 lines
1.5 KiB
Makefile
################################################################################
|
|
#
|
|
# pinentry
|
|
#
|
|
################################################################################
|
|
|
|
PINENTRY_VERSION = 0.8.3
|
|
PINENTRY_SOURCE = pinentry-$(PINENTRY_VERSION).tar.bz2
|
|
PINENTRY_SITE = ftp://ftp.gnupg.org/gcrypt/pinentry
|
|
PINENTRY_LICENSE = GPLv2+
|
|
PINENTRY_LICENSE_FILES = COPYING
|
|
PINENTRY_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
|
PINENTRY_CONF_OPTS = --disable-pinentry-gtk # gtk1
|
|
PINENTRY_CONF_OPTS += --disable-pinentry-qt # qt3
|
|
PINENTRY_CONF_OPTS += --without-libcap # requires PAM
|
|
|
|
# build with X if available
|
|
ifeq ($(BR2_PACKAGE_XORG7),y)
|
|
PINENTRY_CONF_OPTS += --with-x
|
|
else
|
|
PINENTRY_CONF_OPTS += --without-x
|
|
endif
|
|
|
|
# pinentry-ncurses backend
|
|
ifeq ($(BR2_PACKAGE_PINENTRY_NCURSES),y)
|
|
PINENTRY_CONF_OPTS += --enable-ncurses
|
|
PINENTRY_DEPENDENCIES += ncurses
|
|
else
|
|
PINENTRY_CONF_OPTS += --disable-ncurses
|
|
endif
|
|
|
|
# pinentry-gtk2 backend
|
|
ifeq ($(BR2_PACKAGE_PINENTRY_GTK2),y)
|
|
PINENTRY_CONF_OPTS += --enable-pinentry-gtk2
|
|
PINENTRY_DEPENDENCIES += libgtk2
|
|
else
|
|
PINENTRY_CONF_OPTS += --disable-pinentry-gtk2
|
|
endif
|
|
|
|
# pinentry-qt4 backend
|
|
ifeq ($(BR2_PACKAGE_PINENTRY_QT4),y)
|
|
# -pthread needs to be passed for certain toolchains
|
|
# http://autobuild.buildroot.net/results/6be/6be109ccedec603a67cebdb31b55865dcce0e128/
|
|
PINENTRY_CONF_OPTS += LIBS=-pthread
|
|
PINENTRY_CONF_OPTS += --enable-pinentry-qt4
|
|
PINENTRY_DEPENDENCIES += qt
|
|
else
|
|
PINENTRY_CONF_OPTS += --disable-pinentry-qt4
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|