slang: make install-static do install-pkgconfig
[buildroot-gz.git] / package / tpm-tools / tpm-tools.mk
blob72afc443d8078408bd39a745f4bbbf45039a14df
1 ################################################################################
3 # tpm-tools
5 ################################################################################
7 TPM_TOOLS_VERSION = 1.3.8
8 TPM_TOOLS_SOURCE = tpm-tools-$(TPM_TOOLS_VERSION).tar.gz
9 TPM_TOOLS_SITE = http://downloads.sourceforge.net/project/trousers/tpm-tools/$(TPM_TOOLS_VERSION)
10 TPM_TOOLS_STRIP_COMPONENTS = 2
11 TPM_TOOLS_LICENSE = Common Public License Version 1.0
12 TPM_TOOLS_LICENSE_FILES = LICENSE
13 TPM_TOOLS_DEPENDENCIES = trousers openssl \
14 $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
15 # configure.in and lib/Makefile.am is patched
16 TPM_TOOLS_AUTORECONF = YES
17 TPM_TOOLS_GETTEXTIZE = YES
19 TPM_TOOLS_CONF_OPTS = --disable-pkcs11-support
21 ifeq ($(BR2_PACKAGE_LIBICONV),y)
22 TPM_TOOLS_CONF_ENV += LIBS='-liconv'
23 endif
25 $(eval $(autotools-package))