![Rahul Bedarkar](/assets/img/avatar_default.png)
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>
24 lines
722 B
Makefile
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))
|