wok-stable view fontconfig/receipt @ rev 1670

Add perl-xml-sax-writer
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 08 13:56:10 2008 +0000 (2008-11-08)
parents 04d4bd759667
children acdb0e641156
line source
1 # SliTaz package receipt.
3 PACKAGE="fontconfig"
4 VERSION="2.4.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Font configuration utilities and library."
7 MAINTAINER="pankso@slitaz.org"
8 BUILD_DEPENDS="libxml2-dev"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.fontconfig.org/wiki/"
11 WGET_URL="http://fontconfig.org/release/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --sysconfdir=/etc --prefix=/usr \
18 --mandir=/usr/share/man --localstatedir=/var \
19 $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 cp -a $_pkg/etc $fs
31 cp -a $_pkg/var $fs
32 # Strip cmds.
33 strip -s $fs/usr/bin/*
34 strip -s $fs/usr/lib/*
35 }