wok-current view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="goffice-gtk2"
4 SOURCE="goffice"
5 VERSION="0.8.17"
6 CATEGORY="libs"
7 SHORT_DESC="GOffice is a library of document-centric objects and utilities"
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.xz"
11 WEB_SITE="https://developer.gnome.org/goffice/"
12 WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION%.*}/$TARBALL"
14 DEPENDS="gtk+ libgsf libglade libart_lgpl xorg-libXdamage"
15 BUILD_DEPENDS="gtk+-dev libxml2-dev libgsf libgsf-dev libglade-dev intltool \
16 expat-dev bzip2-dev librsvg-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # remove a reference to pcre_info, a deprecated function
22 # that was removed from PCRE-8.30
23 sed -i 's#info (r, NULL#full&, 0#' goffice/utils/regutf8.c &&
24 ./configure \
25 --with-html-dir=/usr/share/doc \
26 --disable-static \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cook_copy_files *.so* *.xml *.xsl README
35 }