wok view pango/receipt @ rev 14144
libnetfilter_queue*: clean up receipts to trigger a cook
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Fri Mar 01 11:21:54 2013 -0800 (2013-03-01) |
parents | 1dbb923ab613 |
children | 380ffe05937a |
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 TARBALL="$PACKAGE-$VERSION.tar.xz"
9 WEB_SITE="http://www.pango.org/"
10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
11 CONFIG_FILES="/etc/pango/pango.modules"
13 DEPENDS="cairo glib expat libxml2 xorg-libXft fontconfig freetype xcb-util \
14 bzlib slitaz-base-files gcc-lib-base"
15 BUILD_DEPENDS="$DEPENDS cairo-dev glib-dev expat-dev libxml2-dev \
16 xorg-libXft-dev libgio-dev gobject-introspection-dev pkg-config"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --mandir=/usr/share/man \
26 --with-html-dir=/usr/share/doc \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin $fs/usr/lib
36 cp -a $install/usr/bin/* $fs/usr/bin
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/lib/pango $fs/usr/lib
39 cp -a $install/usr/lib/girepository-1.0 $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 }