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

Add: librsvg, librsvg-dev SVG library support
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Jun 23 14:41:13 2009 +0200 (2009-06-23)
parents
children 7245e012b011
line source
1 # SliTaz package receipt.
3 PACKAGE="librsvg"
4 VERSION="2.13.93"
5 CATEGORY="misc"
6 SHORT_DESC="SVG Rendering Library"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="cairo freetype libxml pango fontconfig"
9 BUILD_DEPNDS="cairo-dev freetype-dev libxml-dev pango-dev fontconfig-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://librsvg.sourceforge.net/"
12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.13/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/lib/gtk-2.0 $fs/usr/lib
34 # remove *.*a files
35 find $fs/usr/lib/gtk-2.0 -name "*.*a" -exec rm -f {} \;
37 # strip libs
38 find $fs/usr/lib/gtk-2.0 -name "*.so" -exec strip -s {} \;
40 }