wok-6.x view pango/receipt @ rev 1969

clamav: update depends
author Paul Issott <paul@slitaz.org>
date Fri Jan 02 13:53:44 2009 +0000 (2009-01-02)
parents 4da89e6150fe
children 898be17464be
line source
1 # SliTaz package receipt.
3 PACKAGE="pango"
4 VERSION="1.20.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Library for layout and rendering of text."
7 MAINTAINER="pankso@slitaz.org"
8 BUILD_DEPENDS="cairo-dev glib-dev expat-dev libxml2-dev"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.pango.org/"
11 WGET_URL="ftp://ftp.gtk.org/pub/pango/1.20/$TARBALL"
12 CONFIG_FILES="/etc/pango"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --mandir=/usr/share/man \
22 --with-html-dir=/usr/share/doc \
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/bin $fs/usr/lib
32 cp -a $_pkg/usr/bin/* $fs/usr/bin
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/pango $fs/usr/lib
35 rm -rf $fs/usr/lib/pango/1.6.0/modules/*.la
36 cp -a $_pkg/etc $fs
37 pango-querymodules > $fs/etc/pango/pango.modules
38 }
40 # Pre and post install commands for Tazpkg.
41 post_install()
42 {
43 local root
44 root=$1
45 echo "Processing post-install commands..."
46 # Rebuils pango.modules when installed.
47 pango-querymodules > $root/etc/pango/pango.modules
48 }
50 # We need this package on build host to install it in target directory
51 SELF_INSTALL=1