wok-stable view librsvg/receipt @ rev 6525

Up mpc-library (0.8.2) caused by gmp upgrade
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 03 09:20:54 2010 +0200 (2010-10-03)
parents 8752c40cc534
children 7048d5b4c327
line source
1 # SliTaz package receipt.
3 PACKAGE="librsvg"
4 VERSION="2.26.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="SVG Rendering Library"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="cairo freetype libxml2 pango fontconfig libcroco libgsf xcb-util \
9 libgio atk xorg-libXinerama xorg-libXcursor xorg-libXcomposite xorg-libXext \
10 xorg-libXdamage"
11 BUILD_DEPENDS="$DEPENDS pkg-config cairo-dev freetype-dev libxml2-dev pango-dev \
12 fontconfig-dev libcroco-dev glib-dev libpng-dev gtk+-dev perl expat-dev"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WEB_SITE="http://librsvg.sourceforge.net/"
15 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.26/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --disable-mozilla-plugin \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/gtk-2.0 $fs/usr/lib
37 # remove *.*a files
38 find $fs/usr/lib/gtk-2.0 -name "*.*a" -exec rm -f {} \;
39 }