vp-build/templates/font-util.tmpl
Juan RP 6ade2fe36a Some changes for better use of postinstall_helpers and run_stuff_*.
Introduce run_stuff_<state>_<stage>_cmd. These are used to run
a specific command before or after the specified stage.

Introduce two new helpers: fontconfig-update.sh and mkfontxx-rebuild.sh.
The first runs fc-cache once fontconfig is installed, the second
rebuilds the fonts.dir and fonts.scale files in a directory for
a template.

Allow run_stuff_* to execute a script with any path, not just
from PKGFS_TEMPLATESDIR.

That means that now if you install GTK+ and any fonts package,
gtk-demo will work without any additional stuff.

--HG--
extra : convert_revision : c8aa7eb8d1ab958f64808af0d4c1cce8760d012e
2008-10-06 16:57:36 +02:00

21 lines
884 B
Cheetah
Executable File

# Template build file for 'font-util'.
pkgname=font-util
version=1.0.1
extract_sufx=".tar.bz2"
url=http://xorg.freedesktop.org/releases/individual/font
build_style=gnu_configure
short_desc="Tools for truncating and subseting of ISO10646-1 BDF fonts"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=a9c758164ebc1da1a743fa73b68fae0fc5c215cc
long_desc="
The font-util package provides ucs2any and bdftruncate tools, for
generating BDF fonts containing subsets of ISO 10646-1 code-points
and generating truncated BDF font from ISO 10646-1-encoded BDF
font. It also provides mapping-files (character set tables)
and the fontutil pkg-config and autoconf macro files."
# Transform bdftruncate.pl with correct path.
run_stuff_before="build"
run_stuff_before_build_file="$PKGFS_TMPLHELPDIR/perl-replace-path.sh"
run_stuff_before_build_cmd="perl_transform_file $wrksrc/bdftruncate.pl"