2013-08-08 19:50:27 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# cryptsetup
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-10-29 17:01:35 +01:00
|
|
|
CRYPTSETUP_VERSION_MAJOR = 1.6
|
|
|
|
CRYPTSETUP_VERSION = $(CRYPTSETUP_VERSION_MAJOR).6
|
|
|
|
CRYPTSETUP_SOURCE = cryptsetup-$(CRYPTSETUP_VERSION).tar.xz
|
|
|
|
CRYPTSETUP_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/cryptsetup/v$(CRYPTSETUP_VERSION_MAJOR)
|
2013-08-08 19:50:27 +02:00
|
|
|
CRYPTSETUP_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
|
2013-11-01 15:48:25 +01:00
|
|
|
CRYPTSETUP_DEPENDENCIES = lvm2 popt e2fsprogs libgcrypt host-pkgconf \
|
|
|
|
$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
|
2013-08-08 19:50:27 +02:00
|
|
|
CRYPTSETUP_LICENSE = GPLv2+ (programs), LGPLv2.1+ (library)
|
|
|
|
CRYPTSETUP_LICENSE_FILES = COPYING COPYING.LGPL
|
|
|
|
|
2014-01-09 03:08:29 +01:00
|
|
|
CRYPTSETUP_AUTORECONF = YES
|
|
|
|
|
2013-11-01 15:48:25 +01:00
|
|
|
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
|
|
|
CRYPTSETUP_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -lintl"
|
|
|
|
endif
|
|
|
|
|
2013-08-08 19:50:27 +02:00
|
|
|
$(eval $(autotools-package))
|