a0cefa916b
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.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 = OFLv1.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))
|