/[gentoo-x86]/eclass/font-ebdftopcf.eclass
Gentoo

Contents of /eclass/font-ebdftopcf.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Sun Apr 2 00:24:51 2006 UTC (8 years, 5 months ago) by robbat2
Branch: MAIN
Changes since 1.3: +2 -2 lines
Fix find usage.

1 robbat2 1.1 # Copyright 2006 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 robbat2 1.4 # $Header: /var/cvsroot/gentoo-x86/eclass/font-ebdftopcf.eclass,v 1.3 2006/02/17 22:18:20 swegener Exp $
4 robbat2 1.1
5     # Author: Robin H. Johnson <robbat2@gentoo.org>
6    
7 swegener 1.3 # font-ebdftopcf.eclass
8 robbat2 1.1 # Eclass to make PCF font generator from BDF uniform and optimal
9 robbat2 1.2 # The manpage for this eclass is in media-gfx/ebdftopcf.
10 robbat2 1.1
11     # Variable declarations
12     DEPEND="media-gfx/ebdftopcf"
13     RDEPEND=""
14    
15     #
16     # Public functions
17     #
18     ebdftopcf() {
19     local bdffiles
20     bdffiles="$@"
21     [ -z "$bdffiles" ] && die "No BDF files specified."
22     emake -f /usr/share/ebdftopcf/Makefile.ebdftopcf \
23     BDFFILES="${bdffiles}" \
24     BDFTOPCF_PARAMS="${BDFTOPCF_PARAMS}" \
25     || die "Failed to build PCF files"
26     }
27 robbat2 1.2
28     #
29     # Public inheritable functions
30     #
31     font-ebdftopcf_src_compile() {
32 robbat2 1.4 [ -z "${BDFFILES}" ] && BDFFILES="$(find . -name '*.bdf')"
33 robbat2 1.2 ebdftopcf ${BDFFILES}
34     }
35    
36     EXPORT_FUNCTIONS src_compile

  ViewVC Help
Powered by ViewVC 1.1.20