wok-stable view goffice/receipt @ rev 11461

perl-gtk2-trayicon: add perl-extutils-depends and perl-extutils-pkgconfig to build_depends
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 17 11:45:14 2011 +0100 (2011-12-17)
parents fb0590550cbf
children a9e0ca0f3818
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.bz2"
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 expat-dev bzip2-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --with-html-dir=/usr/share/doc \
21 --without-gconf \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/usr/share
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/lib/goffice $fs/usr/lib
33 cp -a $_pkg/usr/share/goffice $fs/usr/share
34 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
35 }