wok-next view gnumeric/receipt @ rev 6540
Disable chain-cook & add +build option for genpkg only
author | Antoine Bodin <gokhlayeh@mailoo.org> |
---|---|
date | Thu Oct 07 02:09:49 2010 +0200 (2010-10-07) |
parents | 81c1abcd3129 |
children | 08eba1279fb1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnumeric"
4 VERSION="1.10.9"
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 libglade-dev libxml2-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/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i s'/omffile =.*/omffile =/' doc/C/Makefile*
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 --without-perl \
23 --without-python \
24 --without-gda \
25 --without-paradox \
26 $CONFIGURE_ARGS &&
27 make -j 4 &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
38 rm -rf $fs/usr/lib/$PACKAGE/$VERSION/include
39 rm -rf $fs/usr/lib/$PACKAGE/$VERSION/plugins/*/*.la
41 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
42 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
43 }