wok-6.x view pango/receipt @ rev 1623
Up: lighttpd (1.4.20)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Oct 23 20:13:41 2008 +0200 (2008-10-23) |
parents | a7b1ce5fbb22 |
children | 4da89e6150fe |
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"
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.6.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