summaryrefslogtreecommitdiffstats
path: root/package/ntfs-3g/ntfs-3g.mk
blob: e9a91a4ddf2ee787413867d5fec101df3beb8a75 (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
29
30
31
32
33
34
35
#############################################################
#
# ntfs-3g
#
#############################################################

NTFS_3G_VERSION = 2013.1.13
NTFS_3G_SOURCE = ntfs-3g_ntfsprogs-$(NTFS_3G_VERSION).tgz
NTFS_3G_SITE = http://tuxera.com/opensource
NTFS_3G_CONF_OPT = --disable-ldconfig
NTFS_3G_INSTALL_STAGING = YES
NTFS_3G_DEPENDENCIES = host-pkgconf
NTFS_3G_LICENSE = GPLv2+ LGPLv2+
NTSF_3G_LICENSE_FILES = COPYING COPYING.LIB

ifeq ($(BR2_PACKAGE_LIBFUSE),y)
	NTFS_3G_CONF_OPT += --with-fuse=external
	NTFS_3G_DEPENDENCIES += libfuse
endif

ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
	NTFS_3G_DEPENDENCIES += util-linux
endif

ifeq ($(BR2_PACKAGE_NTFS_3G_ENCRYPTED),y)
	NTFS_3G_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
	NTFS_3G_CONF_OPT += --enable-crypto
	NTFS_3G_DEPENDENCIES += gnutls libgcrypt
endif

ifneq ($(BR2_PACKAGE_NTFS_3G_NTFSPROGS),y)
	NTFS_3G_CONF_OPT += --disable-ntfsprogs
endif

$(eval $(autotools-package))