wok annotate librsvg/receipt @ rev 5456
Up ruby (1.9.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 05 17:10:21 2010 +0200 (2010-05-05) |
parents | 2793a5c9ff26 |
children | 4c50d54518b3 |
rev | line source |
---|---|
erjo@3554 | 1 # SliTaz package receipt. |
erjo@3554 | 2 |
erjo@3554 | 3 PACKAGE="librsvg" |
pankso@4161 | 4 VERSION="2.26.0" |
pankso@4161 | 5 CATEGORY="system-tools" |
erjo@3554 | 6 SHORT_DESC="SVG Rendering Library" |
erjo@3554 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@5003 | 8 DEPENDS="cairo freetype libxml2 pango fontconfig libcroco libgsf xcb-util \ |
pascal@5003 | 9 libgio atk xorg-libXinerama xorg-libXcursor xorg-libXcomposite xorg-libXext \ |
pascal@5003 | 10 xorg-libXdamage" |
pankso@4161 | 11 BUILD_DEPENDS="$DEPENDS cairo-dev freetype-dev libxml2-dev pango-dev \ |
pankso@4161 | 12 fontconfig-dev libcroco-dev" |
erjo@3554 | 13 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@3554 | 14 WEB_SITE="http://librsvg.sourceforge.net/" |
pankso@4161 | 15 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.26/$TARBALL" |
erjo@3554 | 16 |
erjo@3554 | 17 # Rules to configure and make the package. |
erjo@3554 | 18 compile_rules() |
erjo@3554 | 19 { |
erjo@3554 | 20 cd $src |
erjo@3554 | 21 ./configure \ |
erjo@3554 | 22 --prefix=/usr \ |
erjo@3554 | 23 --infodir=/usr/share/info \ |
erjo@3554 | 24 --mandir=/usr/share/man \ |
pankso@4161 | 25 --disable-mozilla-plugin \ |
erjo@3554 | 26 $CONFIGURE_ARGS && |
erjo@3554 | 27 make && make DESTDIR=$PWD/_pkg install |
erjo@3554 | 28 } |
erjo@3554 | 29 |
erjo@3554 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@3554 | 31 genpkg_rules() |
erjo@3554 | 32 { |
pankso@4161 | 33 mkdir -p $fs/usr/lib |
erjo@3554 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@3554 | 35 cp -a $_pkg/usr/lib/gtk-2.0 $fs/usr/lib |
pankso@4161 | 36 |
erjo@3554 | 37 # remove *.*a files |
erjo@3554 | 38 find $fs/usr/lib/gtk-2.0 -name "*.*a" -exec rm -f {} \; |
erjo@3554 | 39 } |
erjo@3554 | 40 |