wok view librsvg/receipt @ rev 20902
updated expedite (1.7.8 -> 1.7.10)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 26 17:52:22 2019 +0100 (2019-02-26) |
parents | 6863f40dbeaa |
children | 557de358e9d4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="librsvg"
4 VERSION="2.40.16"
5 CATEGORY="x-window"
6 SHORT_DESC="SVG Rendering Library"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://wiki.gnome.org/LibRsvg"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="bzlib cairo fontconfig freetype gdk-pixbuf glib glibc-base harfbuzz \
15 libcroco libffi libgio libpng libxcb libxml2 pango pcre pixman xorg-libX11 \
16 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender zlib"
17 BUILD_DEPENDS="libffi-dev cairo-dev freetype-dev libxml2-dev pango-dev \
18 fontconfig-dev gdk-pixbuf-dev libcroco-dev glib-dev libpng-dev expat-dev"
20 # Handle cross compilation
21 case "$ARCH" in
22 i?86) BUILD_DEPENDS="gtk-doc perl libgsf libcroco-dev \
23 gobject-introspection-dev gtk+3-dev" ;;
24 esac
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --disable-static \
31 LIBCROCO_CFLAGS="-I/cross/$ARCH/sysroot/usr/include" \
32 $CONFIGURE_ARGS &&
33 make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_files *.so*
40 }
42 # Pre and post install commands for Tazpkg.
43 post_install()
44 {
45 [ -z "$quiet" ] && echo -en "\nUpdating gdk pixbuf loaders cache file..."
46 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
47 status
48 }