wok view librsvg/receipt @ rev 3701

Upgrade: freeglut (2.4.0 to 2.6.0-rc1)
author Matthew Sheets <rcx@zoominternet.net>
date Fri Jul 17 12:22:07 2009 +0000 (2009-07-17)
parents 7245e012b011
children 2793a5c9ff26
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 libxml2 pango fontconfig"
9 BUILD_DEPENDS="cairo-dev freetype-dev libxml2-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 }