wok-stable view pango/receipt @ rev 11130
Up: xpad to 4.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 26 20:49:51 2011 +0000 (2011-10-26) |
parents | d7e6649903c8 |
children | 79b4cd93d448 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pango"
4 VERSION="1.29.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Library for layout and rendering of text."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.pango.org/"
10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
11 CONFIG_FILES="/etc/pango/pango.modules"
13 DEPENDS="cairo glib expat libxml2 xorg-libXft fontconfig freetype xcb-util"
14 BUILD_DEPENDS="$DEPENDS cairo-dev glib-dev expat-dev libxml2-dev xorg-libXft-dev \
15 libgio-dev gobject-introspection-dev pkg-config"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 --mandir=/usr/share/man \
25 --with-html-dir=/usr/share/doc \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin $fs/usr/lib
35 cp -a $install/usr/bin/* $fs/usr/bin
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/lib/pango $fs/usr/lib
38 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
39 rm -rf $fs/usr/lib/pango/1.6.0/modules/*.la
40 cp -a $install/etc $fs
41 touch $fs/etc/pango/pango.modules
42 }
44 # Pre and post install commands for Tazpkg.
45 post_install()
46 {
47 echo "Processing post-install commands..."
48 # Rebuilds pango.modules when installed.
49 chroot $1/ /usr/bin/pango-querymodules > $1/etc/pango/pango.modules
50 }