summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2006-01-12 01:52:17 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2006-01-12 01:52:17 +0000
commit7bc173847ba745a9c819a4319e182b4f61fe58ce (patch)
tree77dfa9c67da8679a555826819f98f36cfb498cea /eclass/font-ebdftopcf.eclass
parentInitial commit. Ebuild and upstream package by Robin H. Johnson <robbat2@gent... (diff)
downloadhistorical-7bc173847ba745a9c819a4319e182b4f61fe58ce.tar.gz
historical-7bc173847ba745a9c819a4319e182b4f61fe58ce.tar.bz2
historical-7bc173847ba745a9c819a4319e182b4f61fe58ce.zip
New eclass for bdftopcf font generation efficently.
Diffstat (limited to 'eclass/font-ebdftopcf.eclass')
-rw-r--r--eclass/font-ebdftopcf.eclass26
1 files changed, 26 insertions, 0 deletions
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 <robbat2@gentoo.org>
+
+# 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"
+}