wok view goffice/receipt @ rev 15228
gsasl: remove wrong error trigger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 22 18:19:03 2013 +0200 (2013-09-22) |
parents | 7896f0694ef6 |
children | dead8955c3ca |
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 2>&1 | grep -v G_REGEX_ERROR_STRAY &&
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 }