wok annotate goffice-gtk2/receipt @ rev 24406

updated clamav and clamav-dev (0.102.3 -> 0.104.2)
author Hans-G?nter Theisgen
date Wed Feb 09 13:44:54 2022 +0100 (2022-02-09)
parents c9a9ee5844bb
children eec3edc6ef52
rev   line source
pascal@19821 1 # SliTaz package receipt.
pascal@19821 2
pascal@19821 3 PACKAGE="goffice-gtk2"
pascal@19821 4 SOURCE="goffice"
pascal@19821 5 VERSION="0.8.17"
pascal@19821 6 CATEGORY="libs"
pascal@19821 7 SHORT_DESC="GOffice is a library of document-centric objects and utilities"
pascal@19821 8 MAINTAINER="pankso@slitaz.org"
pascal@19821 9 LICENSE="GPL2"
pascal@19821 10 TARBALL="$SOURCE-$VERSION.tar.xz"
pascal@19821 11 WEB_SITE="https://developer.gnome.org/goffice/"
pascal@19821 12 WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION%.*}/$TARBALL"
pascal@19821 13
pascal@19821 14 DEPENDS="gtk+ libgsf libglade libart_lgpl xorg-libXdamage"
pascal@19821 15 BUILD_DEPENDS="gtk+-dev libxml2-dev libgsf libgsf-dev libglade-dev intltool \
pascal@19821 16 expat-dev bzip2-dev librsvg-dev"
pascal@19821 17
pascal@24111 18 current_version()
pascal@24111 19 {
pascal@24111 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 22 }
pascal@24111 23
pascal@19821 24 # Rules to configure and make the package.
pascal@19821 25 compile_rules()
pascal@19821 26 {
pascal@19821 27 # remove a reference to pcre_info, a deprecated function
pascal@19821 28 # that was removed from PCRE-8.30
pascal@19821 29 sed -i 's#info (r, NULL#full&, 0#' goffice/utils/regutf8.c &&
pascal@19821 30 ./configure \
pascal@19821 31 --with-html-dir=/usr/share/doc \
pascal@19821 32 --disable-static \
pascal@19821 33 $CONFIGURE_ARGS &&
pascal@19821 34 make && make install
pascal@19821 35 }
pascal@19821 36
pascal@19821 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19821 38 genpkg_rules()
pascal@19821 39 {
pascal@19821 40 cook_copy_files *.so* *.xml *.xsl README
pascal@19821 41 }