wok-4.x view gnumeric/receipt @ rev 6737

Up: libIDL to 0.8.14.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 16 19:27:17 2010 +0000 (2010-10-16)
parents aaff6cc80e5c
children 6be9c406396e
line source
1 # SliTaz package receipt.
3 PACKAGE="gnumeric"
4 VERSION="1.10.11"
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.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 }