wok-6.x view pango/receipt @ rev 15180
mosh: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 20 11:57:56 2013 +0000 (2013-08-20) |
parents | d8228805d4f0 |
children | bc08dfb0b2f6 |
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="$DEPENDS cairo-dev glib-dev expat-dev libxml2-dev \
17 xorg-libXft-dev 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 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
41 rm -rf $fs/usr/lib/pango/1.6.0/modules/*.la
42 cp -a $install/etc $fs
43 touch $fs/etc/pango/pango.modules
44 }
46 # Pre and post install commands for Tazpkg.
47 post_install()
48 {
49 echo "Processing post-install commands..."
50 # Rebuilds pango.modules when installed.
51 chroot $1/ /usr/bin/pango-querymodules > $1/etc/pango/pango.modules
52 }