wok-4.x view pango/receipt @ rev 9641
Fixed rhino, ecj, and xalan-xerces-j depends. Putting java-jre for depends was a bad idea since these packages are build depends for icedtea6-jdk. java-jre is a wanted package for icetea6-jdk. This was causing a depend loop.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Apr 27 16:22:35 2011 +0000 (2011-04-27) |
parents | fd2d738281c0 |
children | ef5ca15dbd28 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pango"
4 VERSION="1.28.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Library for layout and rendering of text."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="cairo glib expat libxml2 xorg-libXft fontconfig freetype xcb-util"
9 BUILD_DEPENDS="$DEPENDS cairo-dev glib-dev expat-dev libxml2-dev xorg-libXft-dev libgio-dev gobject-introspection-dev pkg-config"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.pango.org/"
12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pango/${VERSION%.*}/$TARBALL"
13 CONFIG_FILES="/etc/pango"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --mandir=/usr/share/man \
23 --with-html-dir=/usr/share/doc \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin $fs/usr/lib
33 cp -a $_pkg/usr/bin/* $fs/usr/bin
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/pango $fs/usr/lib
36 cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
37 rm -rf $fs/usr/lib/pango/1.6.0/modules/*.la
38 cp -a $_pkg/etc $fs
39 touch $fs/etc/pango/pango.modules
40 }
42 # Pre and post install commands for Tazpkg.
43 post_install()
44 {
45 echo "Processing post-install commands..."
46 # Rebuils pango.modules when installed.
47 chroot $1/ /usr/bin/pango-querymodules > $1/etc/pango/pango.modules
48 }