kumquat-buildroot/package/googlefontdirectory/googlefontdirectory.mk
Rahul Bedarkar b06d055c11 package: use SPDX short identifier for OFL license
We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for OFLv1.0/OFLv1.1 is OFL-1.0/OFL-1.1.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/OFLv([1]\.[0-1])/OFL-\1/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-04-01 22:35:30 +02:00

24 lines
722 B
Makefile

################################################################################
#
# googlefontdirectory
#
################################################################################
GOOGLEFONTDIRECTORY_SITE = \
https://s3.amazonaws.com/joemaller_google_webfonts
GOOGLEFONTDIRECTORY_SOURCE = googlewebfonts.tgz
GOOGLEFONTDIRECTORY_LICENSE = OFL-1.1
GOOGLEFONTDIRECTORY_FONTS = \
$(call qstrip,$(BR2_PACKAGE_GOOGLEFONTDIRECTORY_FONTS))
define GOOGLEFONTDIRECTORY_INSTALL_TARGET_CMDS
for i in $(GOOGLEFONTDIRECTORY_FONTS); \
do \
$(INSTALL) -d $(TARGET_DIR)/usr/share/fonts/$$i && \
$(INSTALL) -m 0644 -t $(TARGET_DIR)/usr/share/fonts/$$i $(@D)/$$i/*.ttf || exit 1; \
done
endef
$(eval $(generic-package))