wok-current view goffice/receipt @ rev 8971

openvas-administrator, openvas-scanner: update build_depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 02 10:29:54 2011 +0100 (2011-03-02)
parents 03217379318a
children fb0590550cbf
line source
1 # SliTaz package receipt.
3 PACKAGE="goffice"
4 VERSION="0.8.11"
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 }