wok-6.x view xfree86-base-fonts/receipt @ rev 3272
leafpad: Add chinese name and comment to leafpad.desktop
author | Chen Yufei <tsjz@ymail.com> |
---|---|
date | Tue Jun 02 12:41:43 2009 +0800 (2009-06-02) |
parents | 11b6c0dd4a0c |
children | ba32718a0870 |
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"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/X11R6/lib/X11/fonts/
16 cp -a $src/fonts/* $fs/usr/X11R6/lib/X11/fonts/
17 }
19 # Execute fc-cache when the package finish ti install.
20 post_install()
21 {
22 local root
23 root=$1
24 if [ -n "$root" ]; then
25 rm -Rf $root/var/cache/fontconfig
26 cp -a /var/cache/fontconfig $root/var/cache
27 else
28 fc-cache
29 fi
30 }
32 # We need this package on build host to install it in target directory
33 SELF_INSTALL=1