wok-current view gnumeric/receipt @ rev 3533

merge 3532:012d72b2b629 , 3530:0109c31e8835
author root@bt-199-036.bta.net.cn
date Mon Jun 22 17:30:40 2009 +0800 (2009-06-22)
parents 8b79c3ee7ac2
children 5755f3c9fd0f
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 libart_lgpl libgio bzlib libart_lgpl xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev libgsf-dev goffice 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 --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 }