kumquat-buildroot/package/liberation/liberation.mk
Bernd Kuhls d35b99292b package/liberation: bump version to 2.1.2
Changelog:
https://github.com/liberationfonts/liberation-fonts/blob/master/ChangeLog

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-02-07 23:21:20 +01:00

40 lines
1.1 KiB
Makefile

################################################################################
#
# liberation
#
################################################################################
LIBERATION_VERSION = 2.1.2
LIBERATION_SITE = https://github.com/liberationfonts/liberation-fonts/files/5722233
LIBERATION_SOURCE = liberation-fonts-ttf-$(LIBERATION_VERSION).tar.gz
LIBERATION_TARGET_DIR = $(TARGET_DIR)/usr/share/fonts/liberation
LIBERATION_LICENSE = OFL-1.1
LIBERATION_LICENSE_FILES = LICENSE
ifeq ($(BR2_PACKAGE_LIBERATION_MONO),y)
define LIBERATION_INSTALL_MONO
$(INSTALL) -m 644 $(@D)/LiberationMono*.ttf $(LIBERATION_TARGET_DIR)
endef
endif
ifeq ($(BR2_PACKAGE_LIBERATION_SANS),y)
define LIBERATION_INSTALL_SANS
$(INSTALL) -m 644 $(@D)/LiberationSans*.ttf $(LIBERATION_TARGET_DIR)
endef
endif
ifeq ($(BR2_PACKAGE_LIBERATION_SERIF),y)
define LIBERATION_INSTALL_SERIF
$(INSTALL) -m 644 $(@D)/LiberationSerif*.ttf $(LIBERATION_TARGET_DIR)
endef
endif
define LIBERATION_INSTALL_TARGET_CMDS
mkdir -p $(LIBERATION_TARGET_DIR)
$(LIBERATION_INSTALL_MONO)
$(LIBERATION_INSTALL_SANS)
$(LIBERATION_INSTALL_SERIF)
endef
$(eval $(generic-package))