wok view gnumeric/receipt @ rev 18564
Up tazpkg-test(855)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 09 04:55:34 2015 +0200 (2015-11-09) |
parents | 7896f0694ef6 |
children | 8dfa5f2c7d46 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnumeric"
4 VERSION="1.10.17"
5 CATEGORY="office"
6 SHORT_DESC="Office Spreadsheet application."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gnome.org/projects/gnumeric/"
11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$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 }