buildrootschalter/package/libpthsem/libpthsem.mk
Thomas Petazzoni f0592c9f65 libpthsem: add libpth compatibility option
This commit adds the BR2_PACKAGE_LIBPTHSEM_COMPAT option to the
libpthsem package, in order to enable the compatibility with the pth
library, which is useful to support gnupg2.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-23 23:32:05 +02:00

25 lines
724 B
Makefile

################################################################################
#
# libpthsem
#
################################################################################
LIBPTHSEM_VERSION = 2.0.8
LIBPTHSEM_SOURCE = pthsem_$(LIBPTHSEM_VERSION).tar.gz
LIBPTHSEM_SITE = http://www.auto.tuwien.ac.at/~mkoegler/pth/
LIBPTHSEM_LICENSE = LGPLv2.1+
LIBPTHSEM_LICENSE_FILES = COPYING
LIBPTHSEM_AUTORECONF = YES
LIBPTHSEM_INSTALL_STAGING = YES
LIBPTHSEM_DEPENDENCIES = argp-standalone
LIBPTHSEM_CONFIG_SCRIPTS = pthsem-config
ifeq ($(BR2_PACKAGE_LIBPTHSEM_COMPAT),y)
LIBPTHSEM_CONF_OPT += --enable-compat
LIBPTHSEM_CONFIG_SCRIPTS += pth-config
else
LIBPTHSEM_CONF_OPT += --disable-compat
endif
$(eval $(autotools-package))