wok view gnumeric/receipt @ rev 8585

Fix: speex need -j 1 to install
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Feb 14 03:35:04 2011 +0100 (2011-02-14)
parents 1f626bdba7c5
children b2f255edf512
line source
1 # SliTaz package receipt.
3 PACKAGE="gnumeric"
4 VERSION="1.10.13"
5 CATEGORY="office"
6 SHORT_DESC="Office Spreadsheet application."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libgsf goffice libart_lgpl guile libgio bzlib xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev libgsf-dev libart_lgpl-dev goffice-dev xorg-libXdamage-dev libglade-dev libxml2-dev intltool pkg-config zlib-dev bzip2-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.gnome.org/projects/gnumeric/"
12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${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 }