wok-next view fontconfig/receipt @ rev 3322
add file-dev | need magic.h for splashy
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Tue Jun 09 18:38:41 2009 +0000 (2009-06-09) |
parents | acdb0e641156 |
children | fab58e610f68 |
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 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 &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/etc $fs
35 cp -a $_pkg/var $fs
36 }