wok-current view librsvg-dev/receipt @ rev 17002
linux-cloop, cloop-utils: add cloop_suspend & create_compressed_fs_fast
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 12 09:06:13 2014 +0200 (2014-08-12) |
parents | 8ed62ecac0c7 |
children | 8407f9c3f9be |
line source
1 # SliTaz package receipt.
3 PACKAGE="librsvg-dev"
4 VERSION="2.34.2"
5 CATEGORY="development"
6 SHORT_DESC="SVG Rendering Library dev files"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://librsvg.sourceforge.net/"
10 WANTED="librsvg"
11 HOST_ARCH="i486 arm"
13 DEPENDS="librsvg cairo-dev gdk-pixbuf-dev libgio-dev glib-dev libcroco-dev \
14 pkg-config"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/lib
20 cp -a $install/usr/include $fs/usr
21 cp -a $install/usr/lib/*.*a $fs/usr/lib
22 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
23 [ -d "$install/usr/lib/gtk-2.0" ] && \
24 cp -a $install/usr/lib/gtk-2.0 $fs/usr/lib
25 cp -a $install/usr/lib/gdk-pixbuf-2.0 $fs/usr/lib
27 # remove *.*a files
28 [ -d "$install/usr/lib/gtk-2.0" ] && \
29 find $fs/usr/lib/gtk-2.0 -name "*.so*" -exec rm -f {} \;
30 find $fs/usr/lib/gdk-pixbuf-2.0 -name "*.so*" -exec rm -f {} \;
31 }