sngrep: fix error if gnutls and openssl are both enabled
[buildroot-gz.git] / package / googlefontdirectory / googlefontdirectory.mk
blob0e60892bb2aae3092cac050f4b8f9d1a5e0ab24a
1 ################################################################################
3 # googlefontdirectory
5 ################################################################################
7 GOOGLEFONTDIRECTORY_SITE = \
8 https://s3.amazonaws.com/joemaller_google_webfonts
9 GOOGLEFONTDIRECTORY_SOURCE = googlewebfonts.tgz
10 GOOGLEFONTDIRECTORY_LICENSE = OFLv1.1
12 GOOGLEFONTDIRECTORY_FONTS = \
13 $(call qstrip,$(BR2_PACKAGE_GOOGLEFONTDIRECTORY_FONTS))
15 define GOOGLEFONTDIRECTORY_INSTALL_TARGET_CMDS
16 for i in $(GOOGLEFONTDIRECTORY_FONTS); \
17 do \
18 $(INSTALL) -d $(TARGET_DIR)/usr/share/fonts/$$i && \
19 $(INSTALL) -m 0644 -t $(TARGET_DIR)/usr/share/fonts/$$i $(@D)/$$i/*.ttf || exit 1; \
20 done
21 endef
23 $(eval $(generic-package))