From 7bc173847ba745a9c819a4319e182b4f61fe58ce Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Thu, 12 Jan 2006 01:52:17 +0000 Subject: New eclass for bdftopcf font generation efficently. --- eclass/font-ebdftopcf.eclass | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 eclass/font-ebdftopcf.eclass (limited to 'eclass') diff --git a/eclass/font-ebdftopcf.eclass b/eclass/font-ebdftopcf.eclass new file mode 100644 index 000000000000..6bd3ab46f537 --- /dev/null +++ b/eclass/font-ebdftopcf.eclass @@ -0,0 +1,26 @@ +# Copyright 2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/eclass/font-ebdftopcf.eclass,v 1.1 2006/01/12 01:52:17 robbat2 Exp $ + +# Author: Robin H. Johnson + +# font-ebdftopcf.eclass +# Eclass to make PCF font generator from BDF uniform and optimal + +# Variable declarations +DEPEND="media-gfx/ebdftopcf" +RDEPEND="" + +# +# Public functions +# +ebdftopcf() { + local bdffiles + bdffiles="$@" + [ -z "$bdffiles" ] && bdffiles="${BDFFILES}" + [ -z "$bdffiles" ] && die "No BDF files specified." + emake -f /usr/share/ebdftopcf/Makefile.ebdftopcf \ + BDFFILES="${bdffiles}" \ + BDFTOPCF_PARAMS="${BDFTOPCF_PARAMS}" \ + || die "Failed to build PCF files" +} -- cgit v1.2.3-65-gdbad