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:51 +0100 |
commit | eb97d3905de3a63e9164ef5cf18264012ab13f6a (patch) | |
tree | 08ace589d160d14d54e5f71c4ec3161d83eeb8e6 /rules | |
parent | 15a0111d608ea31c4adff2e96f7a2f97e69f5b8c (diff) | |
download | ptxdist-eb97d3905de3a63e9164ef5cf18264012ab13f6a.tar.gz ptxdist-eb97d3905de3a63e9164ef5cf18264012ab13f6a.tar.xz |
xorg-font-ttf-comic-jens: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r-- | rules/xorg-font-ttf-comic-jens.in | 9 | ||||
-rw-r--r-- | rules/xorg-font-ttf-comic-jens.make | 74 |
2 files changed, 83 insertions, 0 deletions
diff --git a/rules/xorg-font-ttf-comic-jens.in b/rules/xorg-font-ttf-comic-jens.in new file mode 100644 index 000000000..ec6891f6f --- /dev/null +++ b/rules/xorg-font-ttf-comic-jens.in @@ -0,0 +1,9 @@ +## SECTION=multimedia_xorg_font_ttf + +config XORG_FONT_TTF_COMIC_JENS + bool + select XORG_FONTS + depends on XORG_FONT_TTF + prompt "Comic Jens" + help + A free alternative to Comic Sans. diff --git a/rules/xorg-font-ttf-comic-jens.make b/rules/xorg-font-ttf-comic-jens.make new file mode 100644 index 000000000..276fc8bcc --- /dev/null +++ b/rules/xorg-font-ttf-comic-jens.make @@ -0,0 +1,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 |