wok-next annotate librsvg/receipt @ rev 4161
Fix: librsvg FSH, update and split apps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Sep 22 15:06:14 2009 +0200 (2009-09-22) |
parents | d7f80a67feb1 |
children | 8752c40cc534 |
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" |
pankso@4161 | 8 DEPENDS="cairo freetype libxml2 pango fontconfig libcroco" |
pankso@4161 | 9 BUILD_DEPENDS="$DEPENDS cairo-dev freetype-dev libxml2-dev pango-dev \ |
pankso@4161 | 10 fontconfig-dev libcroco-dev" |
erjo@3554 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@3554 | 12 WEB_SITE="http://librsvg.sourceforge.net/" |
pankso@4161 | 13 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.26/$TARBALL" |
erjo@3554 | 14 |
erjo@3554 | 15 # Rules to configure and make the package. |
erjo@3554 | 16 compile_rules() |
erjo@3554 | 17 { |
erjo@3554 | 18 cd $src |
erjo@3554 | 19 ./configure \ |
erjo@3554 | 20 --prefix=/usr \ |
erjo@3554 | 21 --infodir=/usr/share/info \ |
erjo@3554 | 22 --mandir=/usr/share/man \ |
pankso@4161 | 23 --disable-mozilla-plugin \ |
erjo@3554 | 24 $CONFIGURE_ARGS && |
erjo@3554 | 25 make && make DESTDIR=$PWD/_pkg install |
erjo@3554 | 26 } |
erjo@3554 | 27 |
erjo@3554 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@3554 | 29 genpkg_rules() |
erjo@3554 | 30 { |
pankso@4161 | 31 mkdir -p $fs/usr/lib |
erjo@3554 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@3554 | 33 cp -a $_pkg/usr/lib/gtk-2.0 $fs/usr/lib |
pankso@4161 | 34 |
erjo@3554 | 35 # remove *.*a files |
erjo@3554 | 36 find $fs/usr/lib/gtk-2.0 -name "*.*a" -exec rm -f {} \; |
erjo@3554 | 37 } |
erjo@3554 | 38 |