wok-current 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 | 113fbeb3126d |
children | 8fa4196121d4 |
files | librsvg-apps/receipt librsvg-dev/receipt librsvg/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/librsvg-apps/receipt Tue Sep 22 15:06:14 2009 +0200 1.3 @@ -0,0 +1,19 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="librsvg-apps" 1.7 +VERSION="2.26.0" 1.8 +CATEGORY="graphics" 1.9 +SHORT_DESC="Tiny libSVG utilities (rsvg, rsvg-view, rsvg-convert)." 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +DEPENDS="librsvg python gtk+" 1.12 +WANTED="librsvg" 1.13 +WEB_SITE="http://librsvg.sourceforge.net/" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/share 1.19 + cp -a $_pkg/usr/bin $fs/usr 1.20 + cp -a $_pkg/usr/share/pixmaps $fs/usr/share 1.21 + chmod +x $fs/usr/bin/* 1.22 +}
2.1 --- a/librsvg-dev/receipt Tue Sep 22 14:50:19 2009 +0200 2.2 +++ b/librsvg-dev/receipt Tue Sep 22 15:06:14 2009 +0200 2.3 @@ -14,13 +14,13 @@ 2.4 genpkg_rules() 2.5 { 2.6 mkdir -p $fs/usr $fs/usr/lib 2.7 - cp -a $_pkg/usr/include $fs/ 2.8 + cp -a $_pkg/usr/include $fs/usr 2.9 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 2.10 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 2.11 cp -a $_pkg/usr/lib/gtk-2.0 $fs/usr/lib 2.12 - 2.13 + 2.14 # remove *.*a files 2.15 find $fs/usr/lib/gtk-2.0 -name "*.so*" -exec rm -f {} \; 2.16 - 2.17 + 2.18 } 2.19
3.1 --- a/librsvg/receipt Tue Sep 22 14:50:19 2009 +0200 3.2 +++ b/librsvg/receipt Tue Sep 22 15:06:14 2009 +0200 3.3 @@ -1,15 +1,16 @@ 3.4 # SliTaz package receipt. 3.5 3.6 PACKAGE="librsvg" 3.7 -VERSION="2.13.93" 3.8 -CATEGORY="misc" 3.9 +VERSION="2.26.0" 3.10 +CATEGORY="system-tools" 3.11 SHORT_DESC="SVG Rendering Library" 3.12 MAINTAINER="erjo@slitaz.org" 3.13 -DEPENDS="cairo freetype libxml2 pango fontconfig" 3.14 -BUILD_DEPENDS="cairo-dev freetype-dev libxml2-dev pango-dev fontconfig-dev" 3.15 +DEPENDS="cairo freetype libxml2 pango fontconfig libcroco" 3.16 +BUILD_DEPENDS="$DEPENDS cairo-dev freetype-dev libxml2-dev pango-dev \ 3.17 +fontconfig-dev libcroco-dev" 3.18 TARBALL="$PACKAGE-$VERSION.tar.bz2" 3.19 WEB_SITE="http://librsvg.sourceforge.net/" 3.20 -WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.13/$TARBALL" 3.21 +WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.26/$TARBALL" 3.22 3.23 # Rules to configure and make the package. 3.24 compile_rules() 3.25 @@ -19,6 +20,7 @@ 3.26 --prefix=/usr \ 3.27 --infodir=/usr/share/info \ 3.28 --mandir=/usr/share/man \ 3.29 + --disable-mozilla-plugin \ 3.30 $CONFIGURE_ARGS && 3.31 make && make DESTDIR=$PWD/_pkg install 3.32 } 3.33 @@ -26,16 +28,11 @@ 3.34 # Rules to gen a SliTaz package suitable for Tazpkg. 3.35 genpkg_rules() 3.36 { 3.37 - mkdir -p $fs/usr $fs/usr/lib 3.38 - cp -a $_pkg/usr/bin $fs/usr 3.39 + mkdir -p $fs/usr/lib 3.40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 3.41 cp -a $_pkg/usr/lib/gtk-2.0 $fs/usr/lib 3.42 - 3.43 + 3.44 # remove *.*a files 3.45 find $fs/usr/lib/gtk-2.0 -name "*.*a" -exec rm -f {} \; 3.46 - 3.47 - # strip libs 3.48 - find $fs/usr/lib/gtk-2.0 -name "*.so" -exec strip -s {} \; 3.49 - 3.50 } 3.51