2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2009-04-29 09:21:02 +02:00
|
|
|
#
|
|
|
|
# shared-mime-info
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
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
|
2012-10-22 17:47:52 +02:00
|
|
|
SHARED_MIME_INFO_DEPENDENCIES = host-pkgconf 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
|
|
|
|
2012-10-22 17:47:52 +02:00
|
|
|
HOST_SHARED_MIME_INFO_DEPENDENCIES = host-pkgconf 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
|
2013-01-20 10:45:47 +01:00
|
|
|
SHARED_MIME_INFO_HOST_BINARY = $(HOST_DIR)/usr/bin/update-mime-database
|