2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-10-11 01:28:05 +02:00
|
|
|
#
|
|
|
|
# googlefontdirectory
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-10-11 01:28:05 +02:00
|
|
|
|
|
|
|
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 && \
|
2014-11-30 15:18:30 +01:00
|
|
|
$(INSTALL) -m 0644 -t $(TARGET_DIR)/usr/share/fonts/$$i $(@D)/$$i/*.ttf || exit 1; \
|
2012-10-11 01:28:05 +02:00
|
|
|
done
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|