wok view ttf-bitstream-vera/receipt @ rev 4363

x11vnc: add desktop entry
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 07 11:01:59 2009 +0200 (2009-10-07)
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