summaryrefslogtreecommitdiffstats
path: root/rules/xorg-font-ttf-hanazono.make
blob: 71518020d084be7ecc86a769937b6dca662b8a55 (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
# -*-makefile-*-
#
# Copyright (C) 2015 by Michael Olbrich <m.olbrich@pengutronix.de>
#           (C) 2018 by Florian Bäuerle <florian.baeuerle@allegion.com>
#
# 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_HANAZONO) += xorg-font-ttf-hanazono

#
# Paths and names
#
XORG_FONT_TTF_HANAZONO_VERSION		:= 20141012
XORG_FONT_TTF_HANAZONO_MD5		:= b7733ecc1a2ebf62cbe840b9ebffb05c
XORG_FONT_TTF_HANAZONO			:= hanazono-$(XORG_FONT_TTF_HANAZONO_VERSION)
XORG_FONT_TTF_HANAZONO_SUFFIX		:= zip
XORG_FONT_TTF_HANAZONO_URL		:= http://osdn.jp/frs/redir.php?m=osdn&f=%2Fhanazono-font%2F62072%2F$(XORG_FONT_TTF_HANAZONO).$(XORG_FONT_TTF_HANAZONO_SUFFIX)
XORG_FONT_TTF_HANAZONO_SOURCE		:= $(SRCDIR)/$(XORG_FONT_TTF_HANAZONO).$(XORG_FONT_TTF_HANAZONO_SUFFIX)
XORG_FONT_TTF_HANAZONO_DIR		:= $(BUILDDIR)/$(XORG_FONT_TTF_HANAZONO)
XORG_FONT_TTF_HANAZONO_STRIP_LEVEL	:= 0
XORG_FONT_TTF_HANAZONO_LICENSE		:= OFL-1.1

XORG_FONT_TTF_HANAZONO_CONF_TOOL	:= NO
XORG_FONT_TTF_HANAZONO_FONTDIR		:= $(XORG_FONTDIR)/truetype/hanazono

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

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

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

$(STATEDIR)/xorg-font-ttf-hanazono.install:
	@$(call targetinfo)
	@$(call world/install-fonts,XORG_FONT_TTF_HANAZONO,*.ttf)
	@$(call touch)

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

$(STATEDIR)/xorg-font-ttf-hanazono.targetinstall:
	@$(call targetinfo)
	@$(call install_init, xorg-font-ttf-hanazono)
	@$(call install_fixup, xorg-font-ttf-hanazono,PRIORITY,optional)
	@$(call install_fixup, xorg-font-ttf-hanazono,SECTION,base)
	@$(call install_fixup, xorg-font-ttf-hanazono,AUTHOR,"Florian Bäuerle <florian.baeuerle@allegion.com>")
	@$(call install_fixup, xorg-font-ttf-hanazono,DESCRIPTION,missing)

	@$(call install_tree, xorg-font-ttf-hanazono, 0, 0, -, /usr)

	@$(call install_finish, xorg-font-ttf-hanazono)
	@$(call touch)

# vim: syntax=make