wok-4.x view gnumeric/receipt @ rev 566

Add: Gnumeric (1.8.2) - Office Spreadsheet
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 13 01:37:55 2008 +0200 (2008-04-13)
parents
children 7caa2ad3798e
line source
1 # SliTaz package receipt.
3 PACKAGE="gnumeric"
4 VERSION="1.8.2"
5 CATEGORY="office"
6 SHORT_DESC="Office Spreadsheet application."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libgsf goffice"
9 BUILD_DEPENDS="gtk+-dev libgsf-dev goffice-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gnome.org/projects/gnumeric/"
12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/gnumeric/1.8/$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 $CONFIGURE_ARGS
22 make
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/usr/share
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
33 rm -rf $fs/usr/lib/$PACKAGE/$VERSION/include
34 rm -rf $fs/usr/lib/$PACKAGE/$VERSION/plugins/*/*.la
36 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
37 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
38 }