6b20237391
Use gentoo distfiles since the download infra can't handle google docs URLs. [Peter: also pass TARGET_CFLAGS in CCFLAGS] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
26 lines
707 B
Makefile
26 lines
707 B
Makefile
################################################################################
|
|
#
|
|
# 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))
|