2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-10-20 09:30:03 +02:00
|
|
|
#
|
|
|
|
# liberation
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2010-09-26 09:14:06 +02:00
|
|
|
LIBERATION_VERSION = 1.06.0.20100721
|
2008-10-20 09:30:03 +02:00
|
|
|
LIBERATION_SITE = http://www.fedorahosted.org/releases/l/i/liberation-fonts
|
2010-09-26 09:14:06 +02:00
|
|
|
LIBERATION_SOURCE = liberation-fonts-ttf-$(LIBERATION_VERSION).tar.gz
|
2008-10-20 09:30:03 +02:00
|
|
|
|
2010-09-26 09:14:06 +02:00
|
|
|
LIBERATION_TARGET_DIR = $(TARGET_DIR)/usr/share/fonts/liberation
|
2008-10-20 09:30:03 +02:00
|
|
|
|
2012-12-02 16:06:31 +01:00
|
|
|
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
|
|
|
|
|
2010-09-26 09:14:06 +02:00
|
|
|
define LIBERATION_INSTALL_TARGET_CMDS
|
2009-04-07 23:04:23 +02:00
|
|
|
mkdir -p $(LIBERATION_TARGET_DIR)
|
2012-12-02 16:06:31 +01:00
|
|
|
$(LIBERATION_INSTALL_MONO)
|
|
|
|
$(LIBERATION_INSTALL_SANS)
|
|
|
|
$(LIBERATION_INSTALL_SERIF)
|
2010-09-26 09:14:06 +02:00
|
|
|
endef
|
2008-10-20 09:30:03 +02:00
|
|
|
|
2010-09-26 09:14:06 +02:00
|
|
|
define LIBERATION_CLEAN_CMDS
|
2009-04-07 23:04:23 +02:00
|
|
|
rm -rf $(LIBERATION_TARGET_DIR)
|
2010-09-26 09:14:06 +02:00
|
|
|
endef
|
2008-10-20 09:30:03 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|