wok view goffice/receipt @ rev 14741
nagios-doc has moved to http://go.nagios.com/nagioscore/docs/
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 14 08:43:56 2013 +0200 (2013-06-14) |
parents | a9e0ca0f3818 |
children | 7896f0694ef6 |
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 TARBALL="$PACKAGE-$VERSION.tar.xz"
9 WEB_SITE="http://freshmeat.net/projects/goffice/"
10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 DEPENDS="gtk+ libgsf libglade libart_lgpl xorg-libXdamage"
13 BUILD_DEPENDS="gtk+-dev libxml2-dev libgsf libgsf-dev libglade-dev intltool \
14 expat-dev bzip2-dev librsvg-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 # remove a reference to pcre_info, a deprecated function
21 # that was removed from PCRE-8.30
22 sed -i 's#info (r, NULL#full&, 0#' goffice/utils/regutf8.c &&
23 ./configure \
24 --with-html-dir=/usr/share/doc \
25 --disable-static \
26 $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/goffice $fs/usr/lib
36 cp -a $_pkg/usr/share/goffice $fs/usr/share
37 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
38 }