wok-next diff pango/receipt @ rev 11055
Up: pango to 1.29.4.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Oct 16 23:20:24 2011 +0000 (2011-10-16) |
parents | d7e6649903c8 |
children | 79b4cd93d448 |
line diff
1.1 --- a/pango/receipt Tue Apr 05 11:48:25 2011 +0000 1.2 +++ b/pango/receipt Sun Oct 16 23:20:24 2011 +0000 1.3 @@ -1,16 +1,18 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="pango" 1.7 -VERSION="1.28.4" 1.8 +VERSION="1.29.4" 1.9 CATEGORY="x-window" 1.10 SHORT_DESC="Library for layout and rendering of text." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 -DEPENDS="cairo glib expat libxml2 xorg-libXft fontconfig freetype xcb-util" 1.13 -BUILD_DEPENDS="$DEPENDS cairo-dev glib-dev expat-dev libxml2-dev xorg-libXft-dev libgio-dev gobject-introspection-dev pkg-config" 1.14 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.15 WEB_SITE="http://www.pango.org/" 1.16 -WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pango/${VERSION%.*}/$TARBALL" 1.17 -CONFIG_FILES="/etc/pango" 1.18 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" 1.19 +CONFIG_FILES="/etc/pango/pango.modules" 1.20 + 1.21 +DEPENDS="cairo glib expat libxml2 xorg-libXft fontconfig freetype xcb-util" 1.22 +BUILD_DEPENDS="$DEPENDS cairo-dev glib-dev expat-dev libxml2-dev xorg-libXft-dev \ 1.23 +libgio-dev gobject-introspection-dev pkg-config" 1.24 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 @@ -23,19 +25,19 @@ 1.28 --with-html-dir=/usr/share/doc \ 1.29 $CONFIGURE_ARGS && 1.30 make && 1.31 - make DESTDIR=$PWD/_pkg install 1.32 + make DESTDIR=$DESTDIR install 1.33 } 1.34 1.35 # Rules to gen a SliTaz package suitable for Tazpkg. 1.36 genpkg_rules() 1.37 { 1.38 mkdir -p $fs/usr/bin $fs/usr/lib 1.39 - cp -a $_pkg/usr/bin/* $fs/usr/bin 1.40 - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.41 - cp -a $_pkg/usr/lib/pango $fs/usr/lib 1.42 - cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib 1.43 + cp -a $install/usr/bin/* $fs/usr/bin 1.44 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.45 + cp -a $install/usr/lib/pango $fs/usr/lib 1.46 + cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib 1.47 rm -rf $fs/usr/lib/pango/1.6.0/modules/*.la 1.48 - cp -a $_pkg/etc $fs 1.49 + cp -a $install/etc $fs 1.50 touch $fs/etc/pango/pango.modules 1.51 } 1.52 1.53 @@ -43,7 +45,7 @@ 1.54 post_install() 1.55 { 1.56 echo "Processing post-install commands..." 1.57 - # Rebuils pango.modules when installed. 1.58 + # Rebuilds pango.modules when installed. 1.59 chroot $1/ /usr/bin/pango-querymodules > $1/etc/pango/pango.modules 1.60 } 1.61