wok-6.x annotate librsvg/receipt @ rev 23058

Up claws-mail-perl (3.17.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 07 17:11:49 2020 +0100 (2020-03-07)
parents 6863f40dbeaa
children 557de358e9d4
rev   line source
erjo@3554 1 # SliTaz package receipt.
erjo@3554 2
erjo@3554 3 PACKAGE="librsvg"
al@19478 4 VERSION="2.40.16"
slaxemulator@6677 5 CATEGORY="x-window"
erjo@3554 6 SHORT_DESC="SVG Rendering Library"
erjo@3554 7 MAINTAINER="erjo@slitaz.org"
pascal@14716 8 LICENSE="GPL2"
al@19478 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19478 10 WEB_SITE="https://wiki.gnome.org/LibRsvg"
pascal@14716 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
pankso@16222 12 HOST_ARCH="i486 arm"
al@19152 13
al@19478 14 DEPENDS="bzlib cairo fontconfig freetype gdk-pixbuf glib glibc-base harfbuzz \
al@19478 15 libcroco libffi libgio libpng libxcb libxml2 pango pcre pixman xorg-libX11 \
al@19478 16 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender zlib"
pankso@16222 17 BUILD_DEPENDS="libffi-dev cairo-dev freetype-dev libxml2-dev pango-dev \
pankso@16222 18 fontconfig-dev gdk-pixbuf-dev libcroco-dev glib-dev libpng-dev expat-dev"
pascal@14716 19
pankso@16222 20 # Handle cross compilation
pankso@16222 21 case "$ARCH" in
al@19478 22 i?86) BUILD_DEPENDS="gtk-doc perl libgsf libcroco-dev \
al@19478 23 gobject-introspection-dev gtk+3-dev" ;;
pankso@16222 24 esac
erjo@3554 25
erjo@3554 26 # Rules to configure and make the package.
erjo@3554 27 compile_rules()
erjo@3554 28 {
erjo@3554 29 ./configure \
slaxemulator@6677 30 --disable-static \
al@19478 31 LIBCROCO_CFLAGS="-I/cross/$ARCH/sysroot/usr/include" \
al@19478 32 $CONFIGURE_ARGS &&
slaxemulator@10213 33 make && make install
erjo@3554 34 }
erjo@3554 35
erjo@3554 36 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@3554 37 genpkg_rules()
erjo@3554 38 {
al@19478 39 cook_copy_files *.so*
erjo@3554 40 }
erjo@3554 41
slaxemulator@7770 42 # Pre and post install commands for Tazpkg.
slaxemulator@7770 43 post_install()
slaxemulator@7770 44 {
al@19152 45 [ -z "$quiet" ] && echo -en "\nUpdating gdk pixbuf loaders cache file..."
pascal@18730 46 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
gokhlayeh@11958 47 status
slaxemulator@7770 48 }