wok-next view fontconfig/receipt @ rev 2277

mirror-tools: fix chroot path for mkpkgiso
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 19 10:15:15 2009 +0000 (2009-02-19)
parents f3ded5caa32a
children 3eacc9c96968
line source
1 # SliTaz package receipt.
3 PACKAGE="fontconfig"
4 VERSION="2.6.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Font configuration utilities and library."
7 MAINTAINER="pankso@slitaz.org"
8 BUILD_DEPENDS="libxml2-dev freetype-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 \
18 --sysconfdir=/etc \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 --localstatedir=/var \
22 $CONFIGURE_ARGS
23 make
24 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 }