wok-6.x rev 3554
Add: librsvg, librsvg-dev SVG library support
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Jun 23 14:41:13 2009 +0200 (2009-06-23) |
parents | 9a775ce0eafd |
children | f06c8507c4c3 |
files | librsvg-dev/receipt librsvg/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/librsvg-dev/receipt Tue Jun 23 14:41:13 2009 +0200 1.3 @@ -0,0 +1,26 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="librsvg-dev" 1.7 +VERSION="2.13.93" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="SVG Rendering Library dev files" 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +DEPENDS="librsvg" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 +WEB_SITE="http://librsvg.sourceforge.net/" 1.14 +WANTED="librsvg" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + mkdir -p $fs/usr $fs/usr/lib 1.20 + cp -a $_pkg/usr/include $fs/ 1.21 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.22 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.23 + cp -a $_pkg/usr/lib/gtk-2.0 $fs/usr/lib 1.24 + 1.25 + # remove *.*a files 1.26 + find $fs/usr/lib/gtk-2.0 -name "*.so*" -exec rm -f {} \; 1.27 + 1.28 +} 1.29 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/librsvg/receipt Tue Jun 23 14:41:13 2009 +0200 2.3 @@ -0,0 +1,41 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="librsvg" 2.7 +VERSION="2.13.93" 2.8 +CATEGORY="misc" 2.9 +SHORT_DESC="SVG Rendering Library" 2.10 +MAINTAINER="erjo@slitaz.org" 2.11 +DEPENDS="cairo freetype libxml pango fontconfig" 2.12 +BUILD_DEPNDS="cairo-dev freetype-dev libxml-dev pango-dev fontconfig-dev" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.14 +WEB_SITE="http://librsvg.sourceforge.net/" 2.15 +WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.13/$TARBALL" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + cd $src 2.21 + ./configure \ 2.22 + --prefix=/usr \ 2.23 + --infodir=/usr/share/info \ 2.24 + --mandir=/usr/share/man \ 2.25 + $CONFIGURE_ARGS && 2.26 + make && make DESTDIR=$PWD/_pkg install 2.27 +} 2.28 + 2.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.30 +genpkg_rules() 2.31 +{ 2.32 + mkdir -p $fs/usr $fs/usr/lib 2.33 + cp -a $_pkg/usr/bin $fs/usr 2.34 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.35 + cp -a $_pkg/usr/lib/gtk-2.0 $fs/usr/lib 2.36 + 2.37 + # remove *.*a files 2.38 + find $fs/usr/lib/gtk-2.0 -name "*.*a" -exec rm -f {} \; 2.39 + 2.40 + # strip libs 2.41 + find $fs/usr/lib/gtk-2.0 -name "*.so" -exec strip -s {} \; 2.42 + 2.43 +} 2.44 +