wok-4.x view pango/receipt @ rev 332
Add: abiword-plugins (Wikipedia, etc) and BUILD_DEPENDS for abi
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 04 17:30:12 2008 +0100 (2008-03-04) |
parents | ad5e33e4dad7 |
children | d5e75812e704 |
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 BUILD_DEPENDS="cairo-dev glib-dev"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.pango.org/"
11 WGET_URL="ftp://ftp.gtk.org/pub/pango/1.14/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --sysconfdir=/etc \
18 --mandir=/usr/share/man --with-html-dir=/usr/share/doc \
19 $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin $fs/usr/lib
28 cp -a $_pkg/usr/bin/* $fs/usr/bin
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 cp -a $_pkg/usr/lib/pango $fs/usr/lib
31 rm -rf $fs/usr/lib/pango/1.5.0/modules/*.la
32 cp -a $_pkg/etc $fs
33 pango-querymodules > $fs/etc/pango/pango.modules
34 # Strip.
35 strip --strip-unneeded $fs/usr/bin/*
36 strip --strip-unneeded $fs/usr/lib/*.so*
37 strip --strip-unneeded $fs/usr/lib/pango/1.5.0/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