wok-6.x view pango/receipt @ rev 2001
Up: pango (1.22.4)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jan 08 20:17:54 2009 +0100 (2009-01-08) |
parents | 011647445dd9 |
children | 78b88b5a0d96 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pango"
4 VERSION="1.22.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 expat-dev libxml2-dev"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.pango.org/"
11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pango/1.22/$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 }
49 SELF_INSTALL=1