wok-current view gnumeric/receipt @ rev 5130

Add slitaz suggested-applications
author Rohit Joshi <jozee@slitaz.org>
date Mon Mar 22 12:06:26 2010 +0000 (2010-03-22)
parents bebfa19abc36
children e28130ae7dac
line source
1 # SliTaz package receipt.
3 PACKAGE="gnumeric"
4 VERSION="1.8.4"
5 CATEGORY="office"
6 SHORT_DESC="Office Spreadsheet application."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libgsf goffice libart_lgpl libgio bzlib libart_lgpl xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev libgsf-dev libart_lgpl-dev goffice-dev xorg-libXdamage-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 --without-perl \
22 --without-python \
23 --without-gda \
24 --without-paradox \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
37 rm -rf $fs/usr/lib/$PACKAGE/$VERSION/include
38 rm -rf $fs/usr/lib/$PACKAGE/$VERSION/plugins/*/*.la
40 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
41 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
42 }