wok view pango/receipt @ rev 2711
missing ffmpeg stuff/configure
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Apr 22 19:07:37 2009 +0000 (2009-04-22) |
parents | 78b88b5a0d96 |
children | 3dce3a64acf3 |
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 DEPENDS="cairo glib expat libxml2 xorg-libXft fontconfig freetype"
9 BUILD_DEPENDS="$DEPENDS cairo-dev glib-dev expat-dev libxml2-dev xorg-libXft-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.pango.org/"
12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pango/1.22/$TARBALL"
13 CONFIG_FILES="/etc/pango"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --mandir=/usr/share/man \
23 --with-html-dir=/usr/share/doc \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin $fs/usr/lib
33 cp -a $_pkg/usr/bin/* $fs/usr/bin
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/pango $fs/usr/lib
36 rm -rf $fs/usr/lib/pango/1.6.0/modules/*.la
37 cp -a $_pkg/etc $fs
38 pango-querymodules > $fs/etc/pango/pango.modules
39 }
41 # Pre and post install commands for Tazpkg.
42 post_install()
43 {
44 local root
45 root=$1
46 echo "Processing post-install commands..."
47 # Rebuils pango.modules when installed.
48 pango-querymodules > $root/etc/pango/pango.modules
49 }
50 SELF_INSTALL=1