wok-stable view fontconfig/receipt @ rev 5401

busybox: temporary gcc 4.5.0 fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 02 18:57:24 2010 +0200 (2010-05-02)
parents 3eacc9c96968
children af928fecc8ab
line source
1 # SliTaz package receipt.
3 PACKAGE="fontconfig"
4 VERSION="2.7.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Font configuration utilities and library."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="expat freetype zlib"
9 BUILD_DEPENDS="libxml2-dev freetype-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.fontconfig.org/wiki/"
12 WGET_URL="http://fontconfig.org/release/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --sysconfdir=/etc \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 --localstatedir=/var \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/etc $fs
34 cp -a $_pkg/var $fs
35 }