wok-current annotate goffice-gtk2/receipt @ rev 23250

updated nsd (4.1.27 -> 4.3.0)
author Hans-G?nter Theisgen
date Wed Mar 25 14:08:08 2020 +0100 (2020-03-25)
parents
children 6831608a1b2a
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@19821 18 # Rules to configure and make the package.
pascal@19821 19 compile_rules()
pascal@19821 20 {
pascal@19821 21 # remove a reference to pcre_info, a deprecated function
pascal@19821 22 # that was removed from PCRE-8.30
pascal@19821 23 sed -i 's#info (r, NULL#full&, 0#' goffice/utils/regutf8.c &&
pascal@19821 24 ./configure \
pascal@19821 25 --with-html-dir=/usr/share/doc \
pascal@19821 26 --disable-static \
pascal@19821 27 $CONFIGURE_ARGS &&
pascal@19821 28 make && make install
pascal@19821 29 }
pascal@19821 30
pascal@19821 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19821 32 genpkg_rules()
pascal@19821 33 {
pascal@19821 34 cook_copy_files *.so* *.xml *.xsl README
pascal@19821 35 }