summaryrefslogtreecommitdiff
path: root/package/file/file.mk
blob: d9a533f4d8faa95fd91138b13a8ca899654fecae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#############################################################
#
# file
#
#############################################################

FILE_VERSION = 5.09
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))
$(eval $(call AUTOTARGETS,host))