wok-next view pango/receipt @ rev 15941
compton: need dbus
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 22 19:47:45 2014 +0100 (2014-02-22) |
parents | 380ffe05937a |
children | 53082fab5f1e |
line source
1 # SliTaz package receipt.
3 PACKAGE="pango"
4 VERSION="1.30.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Library for layout and rendering of text."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.pango.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
12 CONFIG_FILES="/etc/pango/pango.modules"
14 DEPENDS="cairo glib expat libxml2 xorg-libXft fontconfig freetype xcb-util \
15 bzlib slitaz-base-files gcc-lib-base"
16 BUILD_DEPENDS="cairo-dev glib-dev expat-dev libxml2-dev xorg-libXft-dev \
17 libgio-dev gobject-introspection-dev pkg-config"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --sysconfdir=/etc \
26 --mandir=/usr/share/man \
27 --with-html-dir=/usr/share/doc \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin $fs/usr/lib
37 cp -a $install/usr/bin/* $fs/usr/bin
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/lib/pango $fs/usr/lib
40 rm -rf $fs/usr/lib/pango/1.6.0/modules/*.la
41 cp -a $install/etc $fs
42 touch $fs/etc/pango/pango.modules
43 }
45 # Pre and post install commands for Tazpkg.
46 post_install()
47 {
48 echo "Processing post-install commands..."
49 # Rebuilds pango.modules when installed.
50 chroot $1/ /usr/bin/pango-querymodules > $1/etc/pango/pango.modules
51 }