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

[f-g]*: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 28 15:33:01 2010 +0100 (2010-02-28)
parents d7f80a67feb1
children 8752c40cc534
line source
1 # SliTaz package receipt.
3 PACKAGE="librsvg"
4 VERSION="2.26.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="SVG Rendering Library"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="cairo freetype libxml2 pango fontconfig libcroco"
9 BUILD_DEPENDS="$DEPENDS cairo-dev freetype-dev libxml2-dev pango-dev \
10 fontconfig-dev libcroco-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://librsvg.sourceforge.net/"
13 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.26/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --disable-mozilla-plugin \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/lib/gtk-2.0 $fs/usr/lib
35 # remove *.*a files
36 find $fs/usr/lib/gtk-2.0 -name "*.*a" -exec rm -f {} \;
37 }