diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-10-21 11:09:43 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-10-27 11:10:52 +0100 |
commit | 449590b4c44443445fd8ac08691e2988f31066b8 (patch) | |
tree | 28b11199b054a0aa68ae6e7b02348f1021febdab /rules/xorg-font-ttf-lohit-assamese.make | |
parent | c41f3efa66f93e23c4aaff841783847f93626737 (diff) | |
download | ptxdist-449590b4c44443445fd8ac08691e2988f31066b8.tar.gz ptxdist-449590b4c44443445fd8ac08691e2988f31066b8.tar.xz |
xorg-font-ttf-lohit-assamese: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/xorg-font-ttf-lohit-assamese.make')
-rw-r--r-- | rules/xorg-font-ttf-lohit-assamese.make | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/rules/xorg-font-ttf-lohit-assamese.make b/rules/xorg-font-ttf-lohit-assamese.make new file mode 100644 index 000000000..40c1189e0 --- /dev/null +++ b/rules/xorg-font-ttf-lohit-assamese.make @@ -0,0 +1,85 @@ +# -*-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_LOHIT_ASSAMESE) += xorg-font-ttf-lohit-assamese + +# +# Paths and names +# +XORG_FONT_TTF_LOHIT_ASSAMESE_VERSION := 2.91.3 +XORG_FONT_TTF_LOHIT_ASSAMESE_MD5 := 450392cdcc01373aa31b1493bafa9935 +XORG_FONT_TTF_LOHIT_ASSAMESE := lohit-assamese-ttf-$(XORG_FONT_TTF_LOHIT_ASSAMESE_VERSION) +XORG_FONT_TTF_LOHIT_ASSAMESE_SUFFIX := tar.gz +XORG_FONT_TTF_LOHIT_ASSAMESE_URL := https://fedorahosted.org/releases/l/o/lohit/$(XORG_FONT_TTF_LOHIT_ASSAMESE).$(XORG_FONT_TTF_LOHIT_ASSAMESE_SUFFIX) +XORG_FONT_TTF_LOHIT_ASSAMESE_SOURCE := $(SRCDIR)/$(XORG_FONT_TTF_LOHIT_ASSAMESE).$(XORG_FONT_TTF_LOHIT_ASSAMESE_SUFFIX) +XORG_FONT_TTF_LOHIT_ASSAMESE_DIR := $(BUILDDIR)/$(XORG_FONT_TTF_LOHIT_ASSAMESE) +XORG_FONT_TTF_LOHIT_ASSAMESE_LICENSE := OFL-1.1 +XORG_FONT_TTF_LOHIT_ASSAMESE_LICENSE_FILES := \ + file://OFL.txt;md5=7dfa0a236dc535ad2d2548e6170c4402 + +ifdef PTXCONF_XORG_FONT_TTF_LOHIT_ASSAMESE +$(STATEDIR)/xorg-fonts.targetinstall.post: $(STATEDIR)/xorg-font-ttf-lohit-assamese.targetinstall +endif + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +XORG_FONT_TTF_LOHIT_ASSAMESE_CONF_TOOL := NO + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +$(STATEDIR)/xorg-font-ttf-lohit-assamese.compile: + @$(call targetinfo) + @$(call touch) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/xorg-font-ttf-lohit-assamese.install: + @$(call targetinfo) + @$(call touch) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/xorg-font-ttf-lohit-assamese.targetinstall: + @$(call targetinfo) + + @mkdir -p $(XORG_FONTS_DIR_INSTALL)/truetype + + @find $(XORG_FONT_TTF_LOHIT_ASSAMESE_DIR) \ + -name "*.ttf" \ + | \ + while read file; do \ + install -m 644 $${file} $(XORG_FONTS_DIR_INSTALL)/truetype; \ + done + + @$(call install_init, xorg-font-ttf-lohit-assamese) + @$(call install_fixup, xorg-font-ttf-lohit-assamese,PRIORITY,optional) + @$(call install_fixup, xorg-font-ttf-lohit-assamese,SECTION,base) + @$(call install_fixup, xorg-font-ttf-lohit-assamese,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>") + @$(call install_fixup, xorg-font-ttf-lohit-assamese,DESCRIPTION,missing) + + @$(call install_copy, xorg-font-ttf-lohit-assamese, 0, 0, 644, \ + $(XORG_FONT_TTF_LOHIT_ASSAMESE_DIR)/66-lohit-assamese.conf, \ + /etc/fonts/conf.d/66-lohit-assamese.conf) + + @$(call install_finish, xorg-font-ttf-lohit-assamese) + @$(call touch) + +# vim: syntax=make |