wok-current view ttf-bitstream-vera/receipt @ rev 3574

Update: coreutils, for Linux 2.6.29.3
author Matthew Sheets <rcx@zoominternet.net>
date Thu Jun 25 12:25:00 2009 +0000 (2009-06-25)
parents 99715173ee02
children 866fa2493b1b
line source
1 # SliTaz package receipt.
3 PACKAGE="ttf-bitstream-vera"
4 VERSION="1.10"
5 CATEGORY="x-window"
6 SHORT_DESC="The ttf bitstream vera fonts."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnome.org/fonts/"
10 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/$VERSION/$TARBALL"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/share/fonts/truetype/ttf-bitstream-vera
16 cp -a $src/*.ttf $fs/usr/share/fonts/truetype/ttf-bitstream-vera
17 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoB*
18 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoIt*
19 }
21 # Pre and post install commands for Tazpkg.
22 post_install()
23 {
24 local root
25 root=$1
26 echo "Processing post-install commands..."
27 if [ -n "$root" ]; then
28 rm -Rf $root/var/cache/fontconfig
29 cp -a /var/cache/fontconfig $root/var/cache
30 else
31 fc-cache
32 fi
33 }
35 # We need this package on build host to install it in target directory
36 SELF_INSTALL=1