wok-current annotate xfree86-base-fonts/receipt @ rev 2068

Add perl-soap-lite
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 23 17:56:28 2009 +0000 (2009-01-23)
parents 11b6c0dd4a0c
children ba32718a0870
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 }
pascal@1925 31
pascal@1925 32 # We need this package on build host to install it in target directory
pankso@17 33 SELF_INSTALL=1