wok-6.x view librsvg/receipt @ rev 16049

s/i468/i486/
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 10 12:39:12 2014 +0000 (2014-03-10)
parents 723c93a27922
children 88af587617c4
line source
1 # SliTaz package receipt.
3 PACKAGE="librsvg"
4 VERSION="2.34.2"
5 CATEGORY="x-window"
6 SHORT_DESC="SVG Rendering Library"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://librsvg.sourceforge.net/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
13 DEPENDS="cairo freetype libxml2 pango fontconfig libcroco libgsf xcb-util \
14 libgio atk gdk-pixbuf xorg-libXinerama xorg-libXcursor xorg-libXcomposite xorg-libXext \
15 xorg-libXdamage"
16 BUILD_DEPENDS="$DEPENDS libffi-dev pkg-config cairo-dev freetype-dev libxml2-dev pango-dev \
17 fontconfig-dev gdk-pixbuf-dev libcroco-dev glib-dev libpng-dev gtk+-dev perl expat-dev expat"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --disable-static \
25 $CONFIGURE_ARGS &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 cp -a $install/usr/lib/gtk-2.0 $fs/usr/lib
35 cp -a $install/usr/lib/gdk-pixbuf-2.0 $fs/usr/lib
37 # remove *.*a files
38 find $fs/usr/lib/gtk-2.0 -name "*.*a" -exec rm -f {} \;
39 find $fs/usr/lib/gdk-pixbuf-2.0 -name "*.*a" -exec rm -f {} \;
40 }
42 # Pre and post install commands for Tazpkg.
43 post_install()
44 {
45 echo -n "Updating gdk pixbuf loaders cache file..."
46 chroot $1/ /usr/bin/gdk-pixbuf-query-loaders --update-cache
47 status
48 }