wok annotate pango/receipt @ rev 15972

Up dropbear (2014.63)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 28 15:13:09 2014 +0000 (2014-02-28)
parents 380ffe05937a
children 53082fab5f1e
rev   line source
pankso@22 1 # SliTaz package receipt.
pankso@22 2
pankso@22 3 PACKAGE="pango"
slaxemulator@13172 4 VERSION="1.30.1"
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"
pascal@15000 8 LICENSE="GPL2"
slaxemulator@13172 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@22 10 WEB_SITE="http://www.pango.org/"
slaxemulator@11055 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
slaxemulator@11055 12 CONFIG_FILES="/etc/pango/pango.modules"
slaxemulator@11055 13
pascal@11231 14 DEPENDS="cairo glib expat libxml2 xorg-libXft fontconfig freetype xcb-util \
pascal@13148 15 bzlib slitaz-base-files gcc-lib-base"
pankso@15911 16 BUILD_DEPENDS="cairo-dev glib-dev expat-dev libxml2-dev xorg-libXft-dev \
pankso@15911 17 libgio-dev gobject-introspection-dev pkg-config"
pankso@22 18
pankso@22 19 # Rules to configure and make the package.
pankso@22 20 compile_rules()
pankso@22 21 {
pankso@22 22 cd $src
pankso@547 23 ./configure \
pankso@547 24 --prefix=/usr \
pankso@547 25 --sysconfdir=/etc \
pankso@547 26 --mandir=/usr/share/man \
pankso@547 27 --with-html-dir=/usr/share/doc \
pascal@1634 28 $CONFIGURE_ARGS &&
pascal@1634 29 make &&
slaxemulator@11055 30 make DESTDIR=$DESTDIR install
pankso@22 31 }
pankso@22 32
pankso@22 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@22 34 genpkg_rules()
pankso@22 35 {
pankso@22 36 mkdir -p $fs/usr/bin $fs/usr/lib
slaxemulator@11055 37 cp -a $install/usr/bin/* $fs/usr/bin
slaxemulator@11055 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@11055 39 cp -a $install/usr/lib/pango $fs/usr/lib
pankso@577 40 rm -rf $fs/usr/lib/pango/1.6.0/modules/*.la
slaxemulator@11055 41 cp -a $install/etc $fs
gokhlayeh@9472 42 touch $fs/etc/pango/pango.modules
pankso@22 43 }
pankso@22 44
pankso@22 45 # Pre and post install commands for Tazpkg.
pankso@22 46 post_install()
pankso@22 47 {
pankso@22 48 echo "Processing post-install commands..."
slaxemulator@11055 49 # Rebuilds pango.modules when installed.
pascal@5125 50 chroot $1/ /usr/bin/pango-querymodules > $1/etc/pango/pango.modules
pankso@22 51 }
slaxemulator@6397 52