aboutsummaryrefslogtreecommitdiff
path: root/package/exfat/exfat.mk
blob: 097c3acbe6031dbd2eb8ed2598137bf07b8c3ed9 (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
################################################################################
#
# exfat
#
################################################################################

EXFAT_VERSION = 1.1.0
EXFAT_SITE = http://distfiles.gentoo.org/distfiles
EXFAT_SOURCE = fuse-exfat-$(EXFAT_VERSION).tar.gz
EXFAT_DEPENDENCIES = host-scons libfuse
EXFAT_LICENSE = GPLv3+
EXFAT_LICENSE_FILES = COPYING

define EXFAT_BUILD_CMDS
	(cd $(@D); \
		$(TARGET_CONFIGURE_OPTS) CCFLAGS="$(TARGET_CFLAGS) -std=c99" $(SCONS))
endef

define EXFAT_INSTALL_TARGET_CMDS
	(cd $(@D); \
		$(TARGET_CONFIGURE_OPTS) CCFLAGS="$(TARGET_CFLAGS) -std=c99" $(SCONS) \
		DESTDIR=$(TARGET_DIR)/usr/sbin install)
endef

$(eval $(generic-package))