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

python: add BUILD_DEPENDS
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jun 05 00:58:57 2011 +0200 (2011-06-05)
parents 34d1a109c615
children f5022ffa7d43
line source
1 # SliTaz package receipt.
3 PACKAGE="goffice"
4 VERSION="0.8.14"
5 CATEGORY="x-window"
6 SHORT_DESC="GOffice is a library of document-centric objects and utilities."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libgsf libglade libart_lgpl xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev libxml2-dev libgsf libgsf-dev libglade-dev intltool expat-dev bzip2-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://freshmeat.net/projects/goffice/"
12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 --with-html-dir=/usr/share/doc \
22 --without-gconf \
23 --disable-static \
24 $CONFIGURE_ARGS &&
25 make -j 4 &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/goffice $fs/usr/lib
35 cp -a $_pkg/usr/share/goffice $fs/usr/share
36 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
37 }