wok view pango/receipt @ rev 547
Up: GTK+ (2.12.6) and deps (glib,pango, + clearlooks for 2.10 engines)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 17:37:29 2008 +0200 (2008-04-12) |
parents | d103e8bbb768 |
children | 671f4018b0b7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pango"
4 VERSION="1.18.4"
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"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.pango.org/"
11 WGET_URL="ftp://ftp.gtk.org/pub/pango/1.18/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --sysconfdir=/etc \
20 --mandir=/usr/share/man \
21 --with-html-dir=/usr/share/doc \
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/bin $fs/usr/lib
31 cp -a $_pkg/usr/bin/* $fs/usr/bin
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/lib/pango $fs/usr/lib
34 rm -rf $fs/usr/lib/pango/1.5.0/modules/*.la
35 cp -a $_pkg/etc $fs
36 pango-querymodules > $fs/etc/pango/pango.modules
37 }
39 # Pre and post install commands for Tazpkg.
40 post_install()
41 {
42 local root
43 root=$1
44 echo "Processing post-install commands..."
45 # Rebuils pango.modules when installed.
46 pango-querymodules > $root/etc/pango/pango.modules
47 }
48 SELF_INSTALL=1