wok-current view librsvg-dev/receipt @ rev 17485

Add hylafax
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 30 12:18:02 2014 +0100 (2014-12-30)
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 }