summaryrefslogtreecommitdiffstats
path: root/rules/xorg-font-ttf-comic-jens.make
blob: 276fc8bcccb2af50d28e5c777fd79ea2253c8e9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# -*-makefile-*-
#
# Copyright (C) 2015 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_XORG_FONT_TTF_COMIC_JENS) += xorg-font-ttf-comic-jens

#
# Paths and names
#
XORG_FONT_TTF_COMIC_JENS_VERSION	:= 2.0
XORG_FONT_TTF_COMIC_JENS_MD5		:= 21ab5b4a9360b58959ad30e757aa2ada
XORG_FONT_TTF_COMIC_JENS		:= comic-jens
XORG_FONT_TTF_COMIC_JENS_SUFFIX		:= zip
XORG_FONT_TTF_COMIC_JENS_URL		:= http://www.kutilek.de/download/$(XORG_FONT_TTF_COMIC_JENS).$(XORG_FONT_TTF_COMIC_JENS_SUFFIX)
XORG_FONT_TTF_COMIC_JENS_SOURCE		:= $(SRCDIR)/$(XORG_FONT_TTF_COMIC_JENS).$(XORG_FONT_TTF_COMIC_JENS_SUFFIX)
XORG_FONT_TTF_COMIC_JENS_DIR		:= $(BUILDDIR)/$(XORG_FONT_TTF_COMIC_JENS)
XORG_FONT_TTF_COMIC_JENS_LICENSE	:= CC-BY-ND-3.0
XORG_FONT_TTF_COMIC_JENS_LICENSE_FILES	:= \
	file://Licence.txt;md5=dccc90a479b3a0b508cac38314a04334

ifdef PTXCONF_XORG_FONT_TTF_COMIC_JENS
$(STATEDIR)/xorg-fonts.targetinstall.post: $(STATEDIR)/xorg-font-ttf-comic-jens.targetinstall
endif

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

XORG_FONT_TTF_COMIC_JENS_CONF_TOOL	:= NO

# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------

$(STATEDIR)/xorg-font-ttf-comic-jens.compile:
	@$(call targetinfo)
	@$(call touch)

# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------

$(STATEDIR)/xorg-font-ttf-comic-jens.install:
	@$(call targetinfo)
	@$(call touch)

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

$(STATEDIR)/xorg-font-ttf-comic-jens.targetinstall:
	@$(call targetinfo)

	@mkdir -p $(XORG_FONTS_DIR_INSTALL)/truetype

	@find $(XORG_FONT_TTF_COMIC_JENS_DIR) \
		-name "*.ttf" \
		| \
		while read file; do \
		install -m 644 $${file} $(XORG_FONTS_DIR_INSTALL)/truetype; \
	done

	@$(call touch)

# vim: syntax=make