wok-current view goffice-gtk2/receipt @ rev 24741
updated libextractor and libextractor-dev (1.9 -> 1.11)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 10:23:10 2022 +0100 (2022-03-16) |
parents | c9a9ee5844bb |
children | eec3edc6ef52 |
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 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # remove a reference to pcre_info, a deprecated function
28 # that was removed from PCRE-8.30
29 sed -i 's#info (r, NULL#full&, 0#' goffice/utils/regutf8.c &&
30 ./configure \
31 --with-html-dir=/usr/share/doc \
32 --disable-static \
33 $CONFIGURE_ARGS &&
34 make && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_files *.so* *.xml *.xsl README
41 }