wok view gnumeric/receipt @ rev 25467
Up gnumeric (1.12.53)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 03 08:28:51 2022 +0000 (2022-10-03) |
parents | 38c32fd69682 |
children | 2b776cc39d25 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnumeric"
4 VERSION="1.12.53"
5 CATEGORY="office"
6 SHORT_DESC="Office Spreadsheet application."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="http://www.gnumeric.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="at-spi2 at-spi2-atk atk bzlib cairo dconf dbus fontconfig freetype
15 gdk-pixbuf glib glibc-base goffice gtk+3 harfbuzz libcroco libffi
16 libgio libgsf libpng librsvg libxcb libxml2 libxslt pango pcre
17 pixman util-linux-uuid xorg-libICE xorg-libSM xorg-libX11 xorg-libXau
18 xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp
19 xorg-libXext xorg-libXfixes xorg-libXi xorg-libXinerama
20 xorg-libXrandr xorg-libXrender zlib"
21 BUILD_DEPENDS="bison goffice-dev gtk-doc gtk+3-dev libcroco-dev rarian"
23 # What is the latest version available today?
24 current_version()
25 {
26 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
27 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 sed 's|^gnm_cell_has_expr|gnm_cell_has_expr (GnmCell const *cell);\ninline gboolean\n&|' \
34 -i src/cell.h
35 ./configure \
36 --without-perl \
37 --without-python \
38 --without-gda \
39 $CONFIGURE_ARGS &&
40 make &&
41 make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/lib
48 mkdir -p $fs/usr/share
50 cp -a $install/usr/bin $fs/usr
52 cp -a $install/usr/lib/*.so* $fs/usr/lib
53 cp -a $install/usr/lib/gnumeric $fs/usr/lib
54 cp -a $install/usr/lib/goffice $fs/usr/lib
55 find $fs/usr/lib -name '*.la' -delete
57 cp -a $install/usr/share/applications $fs/usr/share
58 cp -a $install/usr/share/glib-2.0 $fs/usr/share
59 cp -a $install/usr/share/gnumeric $fs/usr/share
60 cp -a $install/usr/share/icons $fs/usr/share
61 }