board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / ntfs-3g / ntfs-3g.mk
blob6e1a8f9460b6ec3025582c010254c6097e7914d9
1 ################################################################################
3 # ntfs-3g
5 ################################################################################
7 NTFS_3G_VERSION = 2016.2.22
8 NTFS_3G_SOURCE = ntfs-3g_ntfsprogs-$(NTFS_3G_VERSION).tgz
9 NTFS_3G_SITE = http://tuxera.com/opensource
10 NTFS_3G_PATCH = https://sources.debian.net/data/main/n/ntfs-3g/1:2016.2.22AR.1-4/debian/patches/0003-CVE-2017-0358.patch
11 NTFS_3G_CONF_OPTS = --disable-ldconfig
12 NTFS_3G_INSTALL_STAGING = YES
13 NTFS_3G_DEPENDENCIES = host-pkgconf
14 NTFS_3G_LICENSE = GPLv2+, LGPLv2+
15 NTFS_3G_LICENSE_FILES = COPYING COPYING.LIB
17 ifeq ($(BR2_PACKAGE_LIBFUSE),y)
18 NTFS_3G_CONF_OPTS += --with-fuse=external
19 NTFS_3G_DEPENDENCIES += libfuse
20 endif
22 ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
23 NTFS_3G_DEPENDENCIES += util-linux
24 endif
26 ifeq ($(BR2_PACKAGE_NTFS_3G_ENCRYPTED),y)
27 NTFS_3G_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config
28 NTFS_3G_CONF_OPTS += --enable-crypto
29 NTFS_3G_DEPENDENCIES += gnutls libgcrypt
30 endif
32 ifneq ($(BR2_PACKAGE_NTFS_3G_NTFSPROGS),y)
33 NTFS_3G_CONF_OPTS += --disable-ntfsprogs
34 endif
36 $(eval $(autotools-package))