wok-6.x view xfree86-base-fonts/receipt @ rev 5037
gmime: disable mono support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 03 18:19:19 2010 +0100 (2010-03-03) |
parents | 011647445dd9 |
children | db63cccdb8d4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xfree86-base-fonts"
4 VERSION="4.6.0"
5 CATEGORY="x-window"
6 SHORT_DESC="X window base fonts from the XFree86 project."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.xfree86.org/"
10 WGET_URL="http://download.tuxfamily.org/slitaz/sources/fonts/$TARBALL"
11 PROVIDE="xorg-base-fonts"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/share/fonts/X11
17 cp -a $src/fonts/* $fs/usr/share/fonts/X11
18 }
20 # Execute fc-cache when the package finish ti install.
21 post_install()
22 {
23 local root
24 root=$1
25 if [ -n "$root" ]; then
26 rm -Rf $root/var/cache/fontconfig
27 cp -a /var/cache/fontconfig $root/var/cache
28 else
29 fc-cache
30 fi
31 }
33 # We need this package on build host to install it in target directory
34 SELF_INSTALL=1