wok view gnumeric/receipt @ rev 19463

making newest gnumeric 1.12.32, user request: http://forum.slitaz.org/topic/gnumeric-110-buggy-how-can-i-get-112
author Erkan Yilmaz <erkan@slitaz.org>
date Mon Oct 24 11:13:58 2016 +0000 (2016-10-24)
parents f2c53fb112f3
children ff2dbaab9ad7
line source
1 # SliTaz package receipt.
3 PACKAGE="gnumeric"
4 VERSION="1.12.32"
5 CATEGORY="office"
6 SHORT_DESC="Office Spreadsheet application."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.gnome.org/projects/gnumeric/"
11 WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/$PACKAGE/1.12/$TARBALL"
13 DEPENDS="gtk+ libgsf goffice libart_lgpl guile libgio bzlib xorg-libXdamage"
14 BUILD_DEPENDS="gtk+-dev libgsf-dev libart_lgpl-dev goffice-dev xorg-libXdamage-dev
15 libglade-dev libxml2-dev intltool pkg-config zlib-dev bzip2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i s'/omffile =.*/omffile =/' doc/C/Makefile*
22 ./configure \
23 --without-perl \
24 --without-python \
25 --without-gda \
26 --without-paradox \
27 --without-gnome \
28 $CONFIGURE_ARGS &&
29 make && make install
31 sed -i 's|zz-application/zz-winassoc-xls;||' \
32 $install/usr/share/applications/gnumeric.desktop
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib $fs/usr/share
40 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/gnumeric $fs/usr/lib
44 find $fs/usr/lib -name '*.la' -delete
46 cp -a $install/usr/share/applications $fs/usr/share
47 cp -a $install/usr/share/glib-2.0 $fs/usr/share
48 cp -a $install/usr/share/gnumeric $fs/usr/share
49 cp -a $install/usr/share/icons $fs/usr/share
50 rm -r $fs/usr/share/icons/hicolor/scalable
51 cp -a $install/usr/share/pixmaps $fs/usr/share
52 find $fs/usr/share/pixmaps -name '*.ico' -delete
53 }