Blame view

buildroot/buildroot-2016.08.1/package/googlefontdirectory/googlefontdirectory.mk 722 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  ################################################################################
  #
  # 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))