wok-stable view ttf-bitstream-vera/receipt @ rev 2074

Add: xfce-mcs-manager*, xfce-mcs-plugins, xfce-utils
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Jan 23 23:08:07 2009 +0100 (2009-01-23)
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