wok-stable annotate pango/receipt @ rev 548
pango: Update BUILD_DEPENDS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 18:02:24 2008 +0200 (2008-04-12) |
parents | d5e75812e704 |
children | a7b1ce5fbb22 |
rev | line source |
---|---|
pankso@22 | 1 # SliTaz package receipt. |
pankso@22 | 2 |
pankso@22 | 3 PACKAGE="pango" |
pankso@547 | 4 VERSION="1.18.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@547 | 11 WGET_URL="ftp://ftp.gtk.org/pub/pango/1.18/$TARBALL" |
pankso@22 | 12 |
pankso@22 | 13 # Rules to configure and make the package. |
pankso@22 | 14 compile_rules() |
pankso@22 | 15 { |
pankso@22 | 16 cd $src |
pankso@547 | 17 ./configure \ |
pankso@547 | 18 --prefix=/usr \ |
pankso@547 | 19 --sysconfdir=/etc \ |
pankso@547 | 20 --mandir=/usr/share/man \ |
pankso@547 | 21 --with-html-dir=/usr/share/doc \ |
pankso@547 | 22 $CONFIGURE_ARGS |
pankso@22 | 23 make |
pankso@22 | 24 make DESTDIR=$PWD/_pkg install |
pankso@22 | 25 } |
pankso@22 | 26 |
pankso@22 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@22 | 28 genpkg_rules() |
pankso@22 | 29 { |
pankso@22 | 30 mkdir -p $fs/usr/bin $fs/usr/lib |
pankso@22 | 31 cp -a $_pkg/usr/bin/* $fs/usr/bin |
pankso@22 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@22 | 33 cp -a $_pkg/usr/lib/pango $fs/usr/lib |
pankso@22 | 34 rm -rf $fs/usr/lib/pango/1.5.0/modules/*.la |
pankso@22 | 35 cp -a $_pkg/etc $fs |
pankso@22 | 36 pango-querymodules > $fs/etc/pango/pango.modules |
pankso@22 | 37 } |
pankso@22 | 38 |
pankso@22 | 39 # Pre and post install commands for Tazpkg. |
pankso@22 | 40 post_install() |
pankso@22 | 41 { |
pankso@22 | 42 local root |
pankso@22 | 43 root=$1 |
pankso@22 | 44 echo "Processing post-install commands..." |
pankso@22 | 45 # Rebuils pango.modules when installed. |
pankso@22 | 46 pango-querymodules > $root/etc/pango/pango.modules |
pankso@22 | 47 } |
pankso@22 | 48 SELF_INSTALL=1 |