wok view fontconfig/receipt @ rev 11828

Up: dokuwiki (2012.01.25)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Feb 27 00:38:58 2012 +0100 (2012-02-27)
parents af928fecc8ab
children 66feb7f9e198
line source
1 # SliTaz package receipt.
3 PACKAGE="fontconfig"
4 VERSION="2.8.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 --with-arch=$ARCH \
24 $CONFIGURE_ARGS &&
25 make && 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 }