wok-6.x view librsvg-dev/receipt @ rev 18378
Up: nginx (1.9.4)
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Thu Sep 17 16:02:23 2015 +0000 (2015-09-17) |
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 }