summaryrefslogtreecommitdiffstats
path: root/package/ecryptfs-utils/ecryptfs-utils.mk
blob: f3f46e168744141bfad20c4126c5959d7f0a7ed8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
################################################################################
#
# ecryptfs-utils
#
################################################################################

ECRYPTFS_UTILS_VERSION         = 103
ECRYPTFS_UTILS_SOURCE          = ecryptfs-utils_$(ECRYPTFS_UTILS_VERSION).orig.tar.gz
ECRYPTFS_UTILS_SITE            = https://launchpad.net/ecryptfs/trunk/$(ECRYPTFS_UTILS_VERSION)/+download
ECRYPTFS_UTILS_LICENSE         = GPLv2+
ECRYPTFS_UTILS_LICENSE_FILES   = COPYING

ECRYPTFS_UTILS_DEPENDENCIES    = keyutils libnss host-intltool
ECRYPTFS_UTILS_CONF_OPT        = --disable-pywrap --disable-pam

#Needed for build system to find pk11func.h and libnss3.so
ECRYPTFS_UTILS_CONF_ENV = \
  NSS_CFLAGS="-I$(STAGING_DIR)/usr/include/nss -I$(STAGING_DIR)/usr/include/nspr" \
  NSS_LIBS="-lnss3"

ifeq ($(BR2_PACKAGE_OPENSSL),y)
	ECRYPTFS_UTILS_CONF_OPT += --enable-openssl
	ECRYPTFS_UTILS_DEPENDENCIES += openssl
else
	ECRYPTFS_UTILS_CONF_OPT += --disable-openssl
endif

$(eval $(autotools-package))