aboutsummaryrefslogtreecommitdiff
path: root/package/liberation/liberation.mk
blob: 7d556501b45a4e88498d5728eea7c94ffeaa4b61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#############################################################
#
# liberation
#
#############################################################
LIBERATION_VERSION = 1.06.0.20100721
LIBERATION_SITE = http://www.fedorahosted.org/releases/l/i/liberation-fonts
LIBERATION_SOURCE = liberation-fonts-ttf-$(LIBERATION_VERSION).tar.gz

LIBERATION_TARGET_DIR = $(TARGET_DIR)/usr/share/fonts/liberation

define LIBERATION_INSTALL_TARGET_CMDS
	mkdir -p $(LIBERATION_TARGET_DIR)
	$(INSTALL) -m 644 $(@D)/*.ttf $(LIBERATION_TARGET_DIR)
endef

define LIBERATION_CLEAN_CMDS
	rm -rf $(LIBERATION_TARGET_DIR)
endef

$(eval $(generic-package))