wok annotate pango/receipt @ rev 2001

Up: pango (1.22.4)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jan 08 20:17:54 2009 +0100 (2009-01-08)
parents 011647445dd9
children 78b88b5a0d96
rev   line source
pankso@22 1 # SliTaz package receipt.
pankso@22 2
pankso@22 3 PACKAGE="pango"
pankso@2001 4 VERSION="1.22.4"
pankso@22 5 CATEGORY="x-window"
pankso@22 6 SHORT_DESC="Library for layout and rendering of text."
pankso@22 7 MAINTAINER="pankso@slitaz.org"
pankso@548 8 BUILD_DEPENDS="cairo-dev glib-dev expat-dev libxml2-dev"
pankso@22 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@22 10 WEB_SITE="http://www.pango.org/"
pankso@2001 11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pango/1.22/$TARBALL"
pascal@1634 12 CONFIG_FILES="/etc/pango"
pankso@22 13
pankso@22 14 # Rules to configure and make the package.
pankso@22 15 compile_rules()
pankso@22 16 {
pankso@22 17 cd $src
pankso@547 18 ./configure \
pankso@547 19 --prefix=/usr \
pankso@547 20 --sysconfdir=/etc \
pankso@547 21 --mandir=/usr/share/man \
pankso@547 22 --with-html-dir=/usr/share/doc \
pascal@1634 23 $CONFIGURE_ARGS &&
pascal@1634 24 make &&
pankso@22 25 make DESTDIR=$PWD/_pkg install
pankso@22 26 }
pankso@22 27
pankso@22 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@22 29 genpkg_rules()
pankso@22 30 {
pankso@22 31 mkdir -p $fs/usr/bin $fs/usr/lib
pankso@22 32 cp -a $_pkg/usr/bin/* $fs/usr/bin
pankso@22 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@22 34 cp -a $_pkg/usr/lib/pango $fs/usr/lib
pankso@577 35 rm -rf $fs/usr/lib/pango/1.6.0/modules/*.la
pankso@22 36 cp -a $_pkg/etc $fs
pankso@22 37 pango-querymodules > $fs/etc/pango/pango.modules
pankso@22 38 }
pankso@22 39
pankso@22 40 # Pre and post install commands for Tazpkg.
pankso@22 41 post_install()
pankso@22 42 {
pankso@22 43 local root
pankso@22 44 root=$1
pankso@22 45 echo "Processing post-install commands..."
pankso@22 46 # Rebuils pango.modules when installed.
pankso@22 47 pango-querymodules > $root/etc/pango/pango.modules
pankso@22 48 }
pankso@22 49 SELF_INSTALL=1