1 ################################################################################
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
)
20 ifeq ($(BR2_PACKAGE_LIBERATION_SANS
),y
)
21 define LIBERATION_INSTALL_SANS
22 $(INSTALL
) -m
644 $(@D
)/LiberationSans
*.ttf
$(LIBERATION_TARGET_DIR
)
26 ifeq ($(BR2_PACKAGE_LIBERATION_SERIF
),y
)
27 define LIBERATION_INSTALL_SERIF
28 $(INSTALL
) -m
644 $(@D
)/LiberationSerif
*.ttf
$(LIBERATION_TARGET_DIR
)
32 define LIBERATION_INSTALL_TARGET_CMDS
33 mkdir
-p
$(LIBERATION_TARGET_DIR
)
34 $(LIBERATION_INSTALL_MONO
)
35 $(LIBERATION_INSTALL_SANS
)
36 $(LIBERATION_INSTALL_SERIF
)
39 $(eval
$(generic-package
))