af31c309e7
We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
35 lines
1.3 KiB
Makefile
35 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# shared-mime-info
|
|
#
|
|
################################################################################
|
|
|
|
SHARED_MIME_INFO_VERSION = 1.8
|
|
SHARED_MIME_INFO_SOURCE = shared-mime-info-$(SHARED_MIME_INFO_VERSION).tar.xz
|
|
SHARED_MIME_INFO_SITE = https://people.freedesktop.org/~hadess
|
|
SHARED_MIME_INFO_INSTALL_STAGING = YES
|
|
SHARED_MIME_INFO_CONF_ENV = XMLLINT=$(HOST_DIR)/usr/bin/xmllint
|
|
SHARED_MIME_INFO_DEPENDENCIES = host-shared-mime-info libxml2 libglib2
|
|
SHARED_MIME_INFO_CONF_OPTS = \
|
|
--disable-update-mimedb \
|
|
--disable-default-make-check
|
|
HOST_SHARED_MIME_INFO_CONF_OPTS = \
|
|
--disable-update-mimedb \
|
|
--disable-default-make-check
|
|
SHARED_MIME_INFO_LICENSE = GPL-2.0
|
|
SHARED_MIME_INFO_LICENSE_FILES = COPYING
|
|
|
|
HOST_SHARED_MIME_INFO_DEPENDENCIES = \
|
|
host-pkgconf host-intltool host-libxml2 host-libglib2
|
|
|
|
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
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|
|
|
|
# shared-mime-info for the host
|
|
SHARED_MIME_INFO_HOST_BINARY = $(HOST_DIR)/usr/bin/update-mime-database
|