wok view gnumeric/receipt @ rev 25747

thunar: replaced dependency libxfconf by xfconf
author Hans-G?nter Theisgen
date Sat Aug 31 09:37:15 2024 +0100 (2 months ago)
parents 4c101652eb90
children
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
22 itstool"
24 # What is the latest version available today?
25 current_version()
26 {
27 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
28 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 sed 's|^gnm_cell_has_expr|gnm_cell_has_expr (GnmCell const *cell);\ninline gboolean\n&|' \
35 -i src/cell.h
36 ./configure \
37 --without-perl \
38 --without-python \
39 --without-gda \
40 $CONFIGURE_ARGS &&
41 make &&
42 make install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/lib
49 mkdir -p $fs/usr/share
51 cp -a $install/usr/bin $fs/usr
53 cp -a $install/usr/lib/*.so* $fs/usr/lib
54 cp -a $install/usr/lib/gnumeric $fs/usr/lib
55 cp -a $install/usr/lib/goffice $fs/usr/lib
56 find $fs/usr/lib -name '*.la' -delete
58 cp -a $install/usr/share/applications $fs/usr/share
59 cp -a $install/usr/share/glib-2.0 $fs/usr/share
60 cp -a $install/usr/share/gnumeric $fs/usr/share
61 cp -a $install/usr/share/icons $fs/usr/share
62 }