2009-04-29 09:21:02 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# shared-mime-info
|
|
|
|
#
|
|
|
|
#############################################################
|
2011-07-14 09:16:28 +02:00
|
|
|
SHARED_MIME_INFO_VERSION = 0.90
|
2009-04-29 09:21:02 +02:00
|
|
|
SHARED_MIME_INFO_SOURCE = shared-mime-info-$(SHARED_MIME_INFO_VERSION).tar.bz2
|
|
|
|
SHARED_MIME_INFO_SITE = http://freedesktop.org/~hadess
|
|
|
|
|
|
|
|
SHARED_MIME_INFO_INSTALL_STAGING = YES
|
|
|
|
|
|
|
|
SHARED_MIME_INFO_CONF_ENV = XMLLINT=$(HOST_DIR)/usr/bin/xmllint
|
2010-02-21 15:38:02 +01:00
|
|
|
SHARED_MIME_INFO_DEPENDENCIES = host-pkg-config host-libglib2 host-libxml2 host-shared-mime-info libxml2 libglib2
|
2009-04-29 09:21:02 +02:00
|
|
|
|
|
|
|
SHARED_MIME_INFO_CONF_OPT = --disable-update-mimedb
|
2011-07-14 09:16:28 +02:00
|
|
|
SHARED_MIME_INFO_MAKE = $(MAKE1)
|
2009-04-29 09:21:02 +02:00
|
|
|
|
2010-05-09 23:32:44 +02:00
|
|
|
HOST_SHARED_MIME_INFO_DEPENDENCIES = host-pkg-config host-intltool
|
2009-11-03 00:10:41 +01:00
|
|
|
|
2011-07-14 09:16:28 +02:00
|
|
|
HOST_SHARED_MIME_INFO_CONF_OPT = --disable-update-mimedb
|
|
|
|
HOST_SHARED_MIME_INFO_MAKE = $(MAKE1)
|
2009-04-29 09:21:02 +02:00
|
|
|
|
2010-09-01 17:32:03 +02:00
|
|
|
define SHARED_MIME_INFO_INSTALL_TARGET_CMDS
|
|
|
|
$(HOST_MAKE_ENV) $(SHARED_MIME_INFO_HOST_BINARY) $(STAGING_DIR)/usr/share/mime
|
|
|
|
$(INSTALL) -D $(STAGING_DIR)/usr/share/mime/mime.cache $(TARGET_DIR)/usr/share/mime/mime.cache
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-autotools-package))
|
2009-04-29 09:21:02 +02:00
|
|
|
|
|
|
|
# shared-mime-info for the host
|
|
|
|
SHARED_MIME_INFO_HOST_BINARY:=$(HOST_DIR)/usr/bin/update-mime-database
|