wok-stable view pango/receipt @ rev 25
Add : jwm and example config file
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 13:52:06 2007 +0100 (2007-12-18) |
parents | |
children | d103e8bbb768 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pango"
4 VERSION="1.14.8"
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="ftp://ftp.gtk.org/pub/pango/1.14/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --sysconfdir=/etc \
17 --mandir=/usr/share/man --with-html-dir=/usr/share/doc \
18 $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin $fs/usr/lib
27 cp -a $_pkg/usr/bin/* $fs/usr/bin
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 cp -a $_pkg/usr/lib/pango $fs/usr/lib
30 rm -rf $fs/usr/lib/pango/1.5.0/modules/*.la
31 cp -a $_pkg/etc $fs
32 pango-querymodules > $fs/etc/pango/pango.modules
33 # Strip.
34 strip --strip-unneeded $fs/usr/bin/*
35 strip --strip-unneeded $fs/usr/lib/*.so*
36 strip --strip-unneeded $fs/usr/lib/pango/1.5.0/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