e2eaf814eb
[Thomas: - use a 'select' instead of a 'depends on' for openssl - select libiconv when locale support is not available, otherwise the build fails due to missing iconv.h - disable on BR2_STATIC_LIBS configurations as it doesn't build. It could be made to build by patching the trousers Makefile. - add missing dependency on thread support in the toolchain - add Config.in comment about the thread and dynamic library dependencies. - add missing <pkg>_LICENSE and <pkg>_LICENSE_FILES variables.] Signed-off-by: Al West <al.west@v-nova.com> Signed-off-by: Noé Rubinstein <nrubinstein@aldebaran.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
25 lines
730 B
Makefile
25 lines
730 B
Makefile
#############################################################
|
|
#
|
|
# trousers
|
|
#
|
|
##############################################################
|
|
|
|
TROUSERS_VERSION = 0.3.13
|
|
TROUSERS_SOURCE = trousers-$(TROUSERS_VERSION).tar.gz
|
|
TROUSERS_SITE = http://downloads.sourceforge.net/project/trousers/trousers/$(TROUSERS_VERSION)
|
|
TROUSERS_LICENSE = BSD-3c
|
|
TROUSERS_LICENSE_FILES = LICENSE
|
|
TROUSERS_INSTALL_STAGING = YES
|
|
TROUSERS_DEPENDENCIES = openssl
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
|
TROUSERS_DEPENDENCIES += libiconv
|
|
endif
|
|
|
|
# The TrouSerS build system attempts to create the tss user and group
|
|
# on the host system. Disable the user checking feature as a
|
|
# workaround.
|
|
TROUSERS_CONF_OPTS += --disable-usercheck
|
|
|
|
$(eval $(autotools-package))
|