wok-current diff goffice-gtk2/receipt @ rev 20008

Add: description.txt and links revision.
author Leonardo Laporte <hackdorte@yandex.com>
date Wed Aug 02 14:08:19 2017 -0300 (2017-08-02)
parents
children 6831608a1b2a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/goffice-gtk2/receipt	Wed Aug 02 14:08:19 2017 -0300
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="goffice-gtk2"
     1.7 +SOURCE="goffice"
     1.8 +VERSION="0.8.17"
     1.9 +CATEGORY="libs"
    1.10 +SHORT_DESC="GOffice is a library of document-centric objects and utilities"
    1.11 +MAINTAINER="pankso@slitaz.org"
    1.12 +LICENSE="GPL2"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.xz"
    1.14 +WEB_SITE="https://developer.gnome.org/goffice/"
    1.15 +WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION%.*}/$TARBALL"
    1.16 +
    1.17 +DEPENDS="gtk+ libgsf libglade libart_lgpl xorg-libXdamage"
    1.18 +BUILD_DEPENDS="gtk+-dev libxml2-dev libgsf libgsf-dev libglade-dev intltool \
    1.19 +expat-dev bzip2-dev librsvg-dev"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	# remove a reference to pcre_info, a deprecated function
    1.25 +	# that was removed from PCRE-8.30
    1.26 +	sed -i 's#info (r, NULL#full&, 0#' goffice/utils/regutf8.c &&
    1.27 +	./configure \
    1.28 +		--with-html-dir=/usr/share/doc \
    1.29 +		--disable-static \
    1.30 +		$CONFIGURE_ARGS &&
    1.31 +	make && make install
    1.32 +}
    1.33 +
    1.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 +genpkg_rules()
    1.36 +{
    1.37 +	cook_copy_files *.so* *.xml *.xsl README
    1.38 +}