# HG changeset patch # User Christopher Rogers # Date 1318807224 0 # Node ID ef5ca15dbd285be9dc7aa8e536483ac25cd21ae7 # Parent 594242fe0541e4ed3e3c09efac7d3f6dc3930b30 Up: pango to 1.29.4. diff -r 594242fe0541 -r ef5ca15dbd28 pango-dev/receipt --- a/pango-dev/receipt Sun Oct 16 23:17:55 2011 +0000 +++ b/pango-dev/receipt Sun Oct 16 23:20:24 2011 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="pango-dev" -VERSION="1.28.4" +VERSION="1.29.4" CATEGORY="development" SHORT_DESC="Library for layout and rendering of text devel files." MAINTAINER="pankso@slitaz.org" @@ -13,10 +13,10 @@ genpkg_rules() { mkdir -p $fs/usr/lib $fs/usr/share - cp -a $_pkg/usr/lib/*.*a $fs/usr/lib - cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib - cp -a $_pkg/usr/include $fs/usr - cp -a $_pkg/usr/lib/pango $fs/usr/lib + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/pango $fs/usr/lib rm -rf $fs/usr/lib/pango/1.6.0/modules/*.so - cp -a $_pkg/usr/share/gir-1.0 $fs/usr/share + cp -a $install/usr/share/gir-1.0 $fs/usr/share } diff -r 594242fe0541 -r ef5ca15dbd28 pango/receipt --- a/pango/receipt Sun Oct 16 23:17:55 2011 +0000 +++ b/pango/receipt Sun Oct 16 23:20:24 2011 +0000 @@ -1,16 +1,18 @@ # SliTaz package receipt. PACKAGE="pango" -VERSION="1.28.4" +VERSION="1.29.4" CATEGORY="x-window" SHORT_DESC="Library for layout and rendering of text." MAINTAINER="pankso@slitaz.org" -DEPENDS="cairo glib expat libxml2 xorg-libXft fontconfig freetype xcb-util" -BUILD_DEPENDS="$DEPENDS cairo-dev glib-dev expat-dev libxml2-dev xorg-libXft-dev libgio-dev gobject-introspection-dev pkg-config" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.pango.org/" -WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/pango/${VERSION%.*}/$TARBALL" -CONFIG_FILES="/etc/pango" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" +CONFIG_FILES="/etc/pango/pango.modules" + +DEPENDS="cairo glib expat libxml2 xorg-libXft fontconfig freetype xcb-util" +BUILD_DEPENDS="$DEPENDS cairo-dev glib-dev expat-dev libxml2-dev xorg-libXft-dev \ +libgio-dev gobject-introspection-dev pkg-config" # Rules to configure and make the package. compile_rules() @@ -23,19 +25,19 @@ --with-html-dir=/usr/share/doc \ $CONFIGURE_ARGS && make && - make DESTDIR=$PWD/_pkg install + make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin $fs/usr/lib - cp -a $_pkg/usr/bin/* $fs/usr/bin - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib - cp -a $_pkg/usr/lib/pango $fs/usr/lib - cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib + cp -a $install/usr/bin/* $fs/usr/bin + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/pango $fs/usr/lib + cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib rm -rf $fs/usr/lib/pango/1.6.0/modules/*.la - cp -a $_pkg/etc $fs + cp -a $install/etc $fs touch $fs/etc/pango/pango.modules } @@ -43,7 +45,7 @@ post_install() { echo "Processing post-install commands..." - # Rebuils pango.modules when installed. + # Rebuilds pango.modules when installed. chroot $1/ /usr/bin/pango-querymodules > $1/etc/pango/pango.modules }