board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / liberation / liberation.mk
bloba77c014a0589b159b392c5b02d2d218ef32931df
1 ################################################################################
3 # liberation
5 ################################################################################
7 LIBERATION_VERSION = 2.00.1
8 LIBERATION_SITE = https://releases.pagure.org/liberation-fonts
9 LIBERATION_SOURCE = liberation-fonts-ttf-$(LIBERATION_VERSION).tar.gz
10 LIBERATION_TARGET_DIR = $(TARGET_DIR)/usr/share/fonts/liberation
11 LIBERATION_LICENSE = OFLv1.1
12 LIBERATION_LICENSE_FILES = LICENSE
14 ifeq ($(BR2_PACKAGE_LIBERATION_MONO),y)
15 define LIBERATION_INSTALL_MONO
16 $(INSTALL) -m 644 $(@D)/LiberationMono*.ttf $(LIBERATION_TARGET_DIR)
17 endef
18 endif
20 ifeq ($(BR2_PACKAGE_LIBERATION_SANS),y)
21 define LIBERATION_INSTALL_SANS
22 $(INSTALL) -m 644 $(@D)/LiberationSans*.ttf $(LIBERATION_TARGET_DIR)
23 endef
24 endif
26 ifeq ($(BR2_PACKAGE_LIBERATION_SERIF),y)
27 define LIBERATION_INSTALL_SERIF
28 $(INSTALL) -m 644 $(@D)/LiberationSerif*.ttf $(LIBERATION_TARGET_DIR)
29 endef
30 endif
32 define LIBERATION_INSTALL_TARGET_CMDS
33 mkdir -p $(LIBERATION_TARGET_DIR)
34 $(LIBERATION_INSTALL_MONO)
35 $(LIBERATION_INSTALL_SANS)
36 $(LIBERATION_INSTALL_SERIF)
37 endef
39 $(eval $(generic-package))