wok-stable view librsvg/receipt @ rev 4220

xfdesktop, xfprint, xfwm4-themes, xfwm4: fix WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 24 13:08:28 2009 +0200 (2009-09-24)
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 }