a276ff9030
file provides libmagic, which other packages might use - So install it into staging. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
20 lines
495 B
Makefile
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))
|