toolchain: bump Codescape IMG MIPS version to 2016.05-06
[buildroot-gz.git] / package / shared-mime-info / shared-mime-info.mk
blobe917ab54f3b8c1e79804ab5b005bf486bf817062
1 ################################################################################
3 # shared-mime-info
5 ################################################################################
7 SHARED_MIME_INFO_VERSION = 1.7
8 SHARED_MIME_INFO_SOURCE = shared-mime-info-$(SHARED_MIME_INFO_VERSION).tar.xz
9 SHARED_MIME_INFO_SITE = https://people.freedesktop.org/~hadess
10 SHARED_MIME_INFO_INSTALL_STAGING = YES
11 SHARED_MIME_INFO_CONF_ENV = XMLLINT=$(HOST_DIR)/usr/bin/xmllint
12 SHARED_MIME_INFO_DEPENDENCIES = host-shared-mime-info libxml2 libglib2
13 SHARED_MIME_INFO_CONF_OPTS = \
14 --disable-update-mimedb \
15 --disable-default-make-check
16 HOST_SHARED_MIME_INFO_CONF_OPTS = \
17 --disable-update-mimedb \
18 --disable-default-make-check
19 SHARED_MIME_INFO_LICENSE = GPLv2
20 SHARED_MIME_INFO_LICENSE_FILES = COPYING
22 HOST_SHARED_MIME_INFO_DEPENDENCIES = \
23 host-pkgconf host-intltool host-libxml2 host-libglib2
25 define SHARED_MIME_INFO_INSTALL_TARGET_CMDS
26 $(HOST_MAKE_ENV) $(SHARED_MIME_INFO_HOST_BINARY) $(STAGING_DIR)/usr/share/mime
27 $(INSTALL) -D $(STAGING_DIR)/usr/share/mime/mime.cache $(TARGET_DIR)/usr/share/mime/mime.cache
28 endef
30 $(eval $(autotools-package))
31 $(eval $(host-autotools-package))
33 # shared-mime-info for the host
34 SHARED_MIME_INFO_HOST_BINARY = $(HOST_DIR)/usr/bin/update-mime-database