wok view pango/receipt @ rev 1773

hardinfo: fix usb
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 28 17:23:48 2008 +0000 (2008-11-28)
parents 0c1ee5f041b9
children 011647445dd9
line source
1 # SliTaz package receipt.
3 PACKAGE="pango"
4 VERSION="1.20.2"
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="ftp://ftp.gtk.org/pub/pango/1.20/$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