wok-4.x view ttf-bitstream-vera/receipt @ rev 4973
add/improve TAGS t* receipts
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Feb 24 12:13:18 2010 +0000 (2010-02-24) |
parents | 011647445dd9 |
children | db63cccdb8d4 |
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 if [ -n "$root" ]; then
29 rm -Rf $root/var/cache/fontconfig
30 cp -a /var/cache/fontconfig $root/var/cache
31 else
32 fc-cache
33 fi
34 }
36 # We need this package on build host to install it in target directory
37 SELF_INSTALL=1