wok-6.x view goffice/receipt @ rev 15111

libtdb: no more tdb.mk
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 14 21:01:32 2013 +0000 (2013-08-14)
parents eaa75d6adeb2
children 246964d7c465
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 }