wok-6.x annotate pango/receipt @ rev 13148
obconf, pango: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 10 14:57:43 2012 +0200 (2012-07-10) |
parents | 16b032ca4317 |
children | d8228805d4f0 |
rev | line source |
---|---|
pankso@22 | 1 # SliTaz package receipt. |
pankso@22 | 2 |
pankso@22 | 3 PACKAGE="pango" |
slaxemulator@11055 | 4 VERSION="1.29.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@22 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@22 | 9 WEB_SITE="http://www.pango.org/" |
slaxemulator@11055 | 10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" |
slaxemulator@11055 | 11 CONFIG_FILES="/etc/pango/pango.modules" |
slaxemulator@11055 | 12 |
pascal@11231 | 13 DEPENDS="cairo glib expat libxml2 xorg-libXft fontconfig freetype xcb-util \ |
pascal@13148 | 14 bzlib slitaz-base-files gcc-lib-base" |
pascal@11231 | 15 BUILD_DEPENDS="$DEPENDS cairo-dev glib-dev expat-dev libxml2-dev \ |
pascal@11231 | 16 xorg-libXft-dev libgio-dev gobject-introspection-dev pkg-config" |
pankso@22 | 17 |
pankso@22 | 18 # Rules to configure and make the package. |
pankso@22 | 19 compile_rules() |
pankso@22 | 20 { |
pankso@22 | 21 cd $src |
pankso@547 | 22 ./configure \ |
pankso@547 | 23 --prefix=/usr \ |
pankso@547 | 24 --sysconfdir=/etc \ |
pankso@547 | 25 --mandir=/usr/share/man \ |
pankso@547 | 26 --with-html-dir=/usr/share/doc \ |
pascal@1634 | 27 $CONFIGURE_ARGS && |
pascal@1634 | 28 make && |
slaxemulator@11055 | 29 make DESTDIR=$DESTDIR install |
pankso@22 | 30 } |
pankso@22 | 31 |
pankso@22 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@22 | 33 genpkg_rules() |
pankso@22 | 34 { |
pankso@22 | 35 mkdir -p $fs/usr/bin $fs/usr/lib |
slaxemulator@11055 | 36 cp -a $install/usr/bin/* $fs/usr/bin |
slaxemulator@11055 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@11055 | 38 cp -a $install/usr/lib/pango $fs/usr/lib |
slaxemulator@11055 | 39 cp -a $install/usr/lib/girepository-1.0 $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 |