kumquat-buildroot/package/file/file.mk
Peter Korsgaard a276ff9030 file: install to staging as well
file provides libmagic, which other packages might use - So install it
into staging.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-11-14 16:16:17 +01:00

20 lines
495 B
Makefile

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