wok diff xfree86-base-fonts/receipt @ rev 991

firefox + wv: fix build deps and error msg
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jul 04 17:54:02 2008 +0200 (2008-07-04)
parents
children 011647445dd9
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xfree86-base-fonts/receipt	Fri Jul 04 17:54:02 2008 +0200
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xfree86-base-fonts"
     1.7 +VERSION="4.6.0"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="X window base fonts from the XFree86 project."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://www.xfree86.org/"
    1.13 +WGET_URL="http://download.tuxfamily.org/slitaz/sources/fonts/$TARBALL"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/X11R6/lib/X11/fonts/
    1.19 +	cp -a $src/fonts/* $fs/usr/X11R6/lib/X11/fonts/
    1.20 +}
    1.21 +
    1.22 +# Execute fc-cache when the package finish ti install.
    1.23 +post_install()
    1.24 +{
    1.25 +	local root
    1.26 +	root=$1
    1.27 +	if [ -n "$root" ]; then
    1.28 +		rm -Rf $root/var/cache/fontconfig
    1.29 +		cp -a /var/cache/fontconfig $root/var/cache
    1.30 +	else
    1.31 +		fc-cache
    1.32 +	fi
    1.33 +}
    1.34 +SELF_INSTALL=1