wok-4.x annotate xfree86-base-fonts/receipt @ rev 1220

Add squirrelmail-multilogin
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 10 07:50:48 2008 +0000 (2008-08-10)
parents
children 011647445dd9
rev   line source
pankso@17 1 # SliTaz package receipt.
pankso@17 2
pankso@17 3 PACKAGE="xfree86-base-fonts"
pankso@17 4 VERSION="4.6.0"
pankso@17 5 CATEGORY="x-window"
pankso@17 6 SHORT_DESC="X window base fonts from the XFree86 project."
pankso@17 7 MAINTAINER="pankso@slitaz.org"
pankso@17 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@17 9 WEB_SITE="http://www.xfree86.org/"
pankso@17 10 WGET_URL="http://download.tuxfamily.org/slitaz/sources/fonts/$TARBALL"
pankso@17 11
pankso@17 12 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@17 13 genpkg_rules()
pankso@17 14 {
pankso@17 15 mkdir -p $fs/usr/X11R6/lib/X11/fonts/
pankso@17 16 cp -a $src/fonts/* $fs/usr/X11R6/lib/X11/fonts/
pankso@17 17 }
pankso@17 18
pankso@17 19 # Execute fc-cache when the package finish ti install.
pankso@17 20 post_install()
pankso@17 21 {
pankso@17 22 local root
pankso@17 23 root=$1
pankso@17 24 if [ -n "$root" ]; then
pankso@17 25 rm -Rf $root/var/cache/fontconfig
pankso@17 26 cp -a /var/cache/fontconfig $root/var/cache
pankso@17 27 else
pankso@17 28 fc-cache
pankso@17 29 fi
pankso@17 30 }
pankso@17 31 SELF_INSTALL=1