wok-6.x rev 19821

Add goffice-gtk2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 02 18:35:43 2017 +0100 (2017-03-02)
parents 477bd44d74aa
children cfd08e5972b5
files gnucash/receipt goffice-gtk2-dev/receipt goffice-gtk2/description.txt goffice-gtk2/receipt
line diff
     1.1 --- a/gnucash/receipt	Thu Mar 02 17:39:37 2017 +0100
     1.2 +++ b/gnucash/receipt	Thu Mar 02 18:35:43 2017 +0100
     1.3 @@ -11,9 +11,9 @@
     1.4  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     1.5  LOCALES="cs da de el es fr hu it pl pt pt_BR ru sv zh_CN zh_TW"
     1.6  
     1.7 -DEPENDS="glib gtk+ goffice guile libgnomecanvas libofx libwebkit libxml2 \
     1.8 +DEPENDS="glib gtk+ goffice-gtk2 guile libgnomecanvas libofx libwebkit libxml2 \
     1.9  libxslt perl slib zlib util-linux-uuid"
    1.10 -BUILD_DEPENDS="glib-dev gtk+-dev goffice-dev guile-dev libgnomecanvas-dev \
    1.11 +BUILD_DEPENDS="glib-dev gtk+-dev goffice-gtk2-dev guile-dev libgnomecanvas-dev \
    1.12  libofx-dev libwebkit-dev libxml2-dev libxslt-dev perl slib zlib-dev intltool \
    1.13  util-linux-uuid-dev libtool"
    1.14  
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/goffice-gtk2-dev/receipt	Thu Mar 02 18:35:43 2017 +0100
     2.3 @@ -0,0 +1,19 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="goffice-gtk2-dev"
     2.7 +VERSION="0.8.17"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="GOffice devel files."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +LICENSE="GPL2"
    2.12 +WEB_SITE="https://developer.gnome.org/goffice/"
    2.13 +
    2.14 +WANTED="goffice"
    2.15 +DEPENDS="goffice glib-dev libgio-dev libgsf-dev libxml2-dev gtk+-dev \
    2.16 +cairo-dev pango-dev librsvg-dev libxslt-dev"
    2.17 +
    2.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.19 +genpkg_rules()
    2.20 +{
    2.21 +	cook_copy_files *.h *.la *.pc
    2.22 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/goffice-gtk2/description.txt	Thu Mar 02 18:35:43 2017 +0100
     3.3 @@ -0,0 +1,2 @@
     3.4 +GOffice is a library of document-centric objects and utilities building on top 
     3.5 +of GLib and Gtk+ 2 and used by software such as Gnucash.
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/goffice-gtk2/receipt	Thu Mar 02 18:35:43 2017 +0100
     4.3 @@ -0,0 +1,35 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="goffice-gtk2"
     4.7 +SOURCE="goffice"
     4.8 +VERSION="0.8.17"
     4.9 +CATEGORY="libs"
    4.10 +SHORT_DESC="GOffice is a library of document-centric objects and utilities"
    4.11 +MAINTAINER="pankso@slitaz.org"
    4.12 +LICENSE="GPL2"
    4.13 +TARBALL="$SOURCE-$VERSION.tar.xz"
    4.14 +WEB_SITE="https://developer.gnome.org/goffice/"
    4.15 +WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION%.*}/$TARBALL"
    4.16 +
    4.17 +DEPENDS="gtk+ libgsf libglade libart_lgpl xorg-libXdamage"
    4.18 +BUILD_DEPENDS="gtk+-dev libxml2-dev libgsf libgsf-dev libglade-dev intltool \
    4.19 +expat-dev bzip2-dev librsvg-dev"
    4.20 +
    4.21 +# Rules to configure and make the package.
    4.22 +compile_rules()
    4.23 +{
    4.24 +	# remove a reference to pcre_info, a deprecated function
    4.25 +	# that was removed from PCRE-8.30
    4.26 +	sed -i 's#info (r, NULL#full&, 0#' goffice/utils/regutf8.c &&
    4.27 +	./configure \
    4.28 +		--with-html-dir=/usr/share/doc \
    4.29 +		--disable-static \
    4.30 +		$CONFIGURE_ARGS &&
    4.31 +	make && make install
    4.32 +}
    4.33 +
    4.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.35 +genpkg_rules()
    4.36 +{
    4.37 +	cook_copy_files *.so* *.xml *.xsl README
    4.38 +}