wok view pango-dev/receipt @ rev 703
x11vnc: --root support in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 02 08:25:48 2008 +0000 (2008-05-02) |
parents | d5e75812e704 |
children | 0c1ee5f041b9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pango-dev"
4 VERSION="1.18.4"
5 CATEGORY="development"
6 SHORT_DESC="Library for layout and rendering of text devel files."
7 MAINTAINER="pankso@slitaz.org"
8 WANTED="pango"
9 WEB_SITE="http://www.pango.org/"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 mkdir -p $fs/usr/lib
15 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
16 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
17 cp -a $_pkg/usr/include $fs/usr
18 cp -a $_pkg/usr/lib/pango $fs/usr/lib
19 rm -rf $fs/usr/lib/pango/1.6.0/modules/*.so
20 }
22 # Pre and post install commands for Tazpkg.
23 post_install()
24 {
25 local root
26 root=$1
27 echo "Processing post-install commands..."
28 # Rebuils pango.modules when installed.
29 pango-querymodules > $root/etc/pango/pango.modules
30 }
31 SELF_INSTALL=1