blob: 78565fd41ca3fdd2ea1a08321c89fd0fc6f142ec (
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
75
76
77
78
79
80
81
|
# -*-makefile-*-
#
# Copyright (C) 2006 by Erwin Rol
# (C) 2010 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_MISC_ETHIOPIC) += xorg-font-misc-ethiopic
#
# Paths and names
#
XORG_FONT_MISC_ETHIOPIC_VERSION := 1.0.3
XORG_FONT_MISC_ETHIOPIC_MD5 := 6306c808f7d7e7d660dfb3859f9091d2
XORG_FONT_MISC_ETHIOPIC := font-misc-ethiopic-$(XORG_FONT_MISC_ETHIOPIC_VERSION)
XORG_FONT_MISC_ETHIOPIC_SUFFIX := tar.bz2
XORG_FONT_MISC_ETHIOPIC_URL := $(call ptx/mirror, XORG, individual/font/$(XORG_FONT_MISC_ETHIOPIC).$(XORG_FONT_MISC_ETHIOPIC_SUFFIX))
XORG_FONT_MISC_ETHIOPIC_SOURCE := $(SRCDIR)/$(XORG_FONT_MISC_ETHIOPIC).$(XORG_FONT_MISC_ETHIOPIC_SUFFIX)
XORG_FONT_MISC_ETHIOPIC_DIR := $(BUILDDIR)/$(XORG_FONT_MISC_ETHIOPIC)
ifdef PTXCONF_XORG_FONT_MISC_ETHIOPIC
$(STATEDIR)/xorg-fonts.targetinstall.post: $(STATEDIR)/xorg-font-misc-ethiopic.targetinstall
endif
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
XORG_FONT_MISC_ETHIOPIC_PATH := PATH=$(CROSS_PATH)
XORG_FONT_MISC_ETHIOPIC_ENV := $(CROSS_ENV)
#
# autoconf
#
XORG_FONT_MISC_ETHIOPIC_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
--with-ttf-fontdir=$(XORG_FONTDIR)/truetype \
--with-otf-fontdir=$(XORG_FONTDIR)/opentype
# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------
$(STATEDIR)/xorg-font-misc-ethiopic.install:
@$(call targetinfo)
@$(call touch)
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/xorg-font-misc-ethiopic.targetinstall:
@$(call targetinfo)
@mkdir -p $(XORG_FONTS_DIR_INSTALL)/truetype
@mkdir -p $(XORG_FONTS_DIR_INSTALL)/opentype
@find $(XORG_FONT_MISC_ETHIOPIC_DIR) \
-name "*.ttf" \
| \
while read file; do \
install -m 644 $${file} $(XORG_FONTS_DIR_INSTALL)/truetype; \
done
@find $(XORG_FONT_MISC_ETHIOPIC_DIR) \
-name "*.otf" \
| \
while read file; do \
install -m 644 $${file} $(XORG_FONTS_DIR_INSTALL)/opentype; \
done
@$(call touch)
# vim: syntax=make
|