wok view goffice-gtk2/receipt @ rev 21549
Add LXSession 0.4.6.* as lxsession046 (latest LXSession 0.4.* is 0.4.9.* and it don't compile anyway due to the old libgee; and latest LXSession 0.5.* (just lxsession) has the major drawbacks)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 07 11:25:44 2019 +0300 (2019-05-07) |
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 }