wok view gnumeric/receipt @ rev 25367
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 29 07:35:41 2022 +0000 (2022-07-29) |
parents | 6831608a1b2a |
children | 4c101652eb90 |
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="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 current_version()
24 {
25 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
26 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 ./configure \
33 --without-perl \
34 --without-python \
35 --without-gda \
36 $CONFIGURE_ARGS &&
37 make &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib
45 mkdir -p $fs/usr/share
47 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/lib/*.so* $fs/usr/lib
50 cp -a $install/usr/lib/gnumeric $fs/usr/lib
51 cp -a $install/usr/lib/goffice $fs/usr/lib
52 find $fs/usr/lib -name '*.la' -delete
54 cp -a $install/usr/share/applications $fs/usr/share
55 cp -a $install/usr/share/glib-2.0 $fs/usr/share
56 cp -a $install/usr/share/gnumeric $fs/usr/share
57 cp -a $install/usr/share/icons $fs/usr/share
58 cp -a $install/usr/share/pixmaps $fs/usr/share
59 find $fs/usr/share/pixmaps -name '*.ico' -delete
60 }