wok view gnumeric/receipt @ rev 5931

Add: libwapcaplet, libwapcaplet-dev
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Jul 30 16:51:43 2010 +0200 (2010-07-30)
parents e28130ae7dac
children aaff6cc80e5c
line source
1 # SliTaz package receipt.
3 PACKAGE="gnumeric"
4 VERSION="1.10.7"
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/${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 }