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

Add atftp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 11 18:12:12 2010 +0100 (2010-11-11)
parents db63cccdb8d4
children
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"
11 TAGS="fonts"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/share/fonts/truetype/ttf-bitstream-vera
17 cp -a $src/*.ttf $fs/usr/share/fonts/truetype/ttf-bitstream-vera
18 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoB*
19 rm $fs/usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoIt*
20 }
22 # Pre and post install commands for Tazpkg.
23 post_install()
24 {
25 local root
26 root=$1
27 echo "Processing post-install commands..."
28 chroot $root/ /usr/bin/fc-cache
29 }