kumquat-buildroot/package/file/file.mk
Peter Korsgaard 7c709f4aff file: don't force _GNU_SOURCE in CFLAGS
Breaks the build with BR2_CONFIG_CACHE, and isn't needed anyway, as
the configure script figures out to add _GNU_SOURCE to config.h
anyway.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-06-10 09:33:32 +02:00

19 lines
494 B
Makefile

#############################################################
#
# file
#
#############################################################
FILE_VERSION = 5.04
FILE_SITE = ftp://ftp.astron.com/pub/file/
FILE_DEPENDENCIES = host-file zlib
HOST_FILE_DEPENDENCIES = host-zlib
define FILE_UNINSTALL_TARGET_CMDS
$(MAKE) DESTDIR=$(TARGET_DIR) uninstall -C $(FILE_DIR)
rm -f $(TARGET_DIR)/usr/lib/libmagic.*
endef
$(eval $(call AUTOTARGETS,package,file))
$(eval $(call AUTOTARGETS,package,file,host))