wok-next view goffice/receipt @ rev 18298

Up linux (3.2.71), again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 17 14:15:07 2015 +0200 (2015-08-17)
parents 246964d7c465
children f83bd64e1765
line source
1 # SliTaz package receipt.
3 PACKAGE="goffice"
4 VERSION="0.8.17"
5 CATEGORY="x-window"
6 SHORT_DESC="GOffice is a library of document-centric objects and utilities."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://freshmeat.net/projects/goffice/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ libgsf libglade libart_lgpl xorg-libXdamage"
14 BUILD_DEPENDS="gtk+-dev libxml2-dev libgsf libgsf-dev libglade-dev intltool \
15 expat-dev bzip2-dev librsvg-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
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 mkdir -p $fs/usr/lib $fs/usr/share
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/lib/goffice $fs/usr/lib
37 cp -a $install/usr/share/goffice $fs/usr/share
38 cp -a $install/usr/share/pixmaps $fs/usr/share
39 }