wok view gnumeric/receipt @ rev 24934
updated musl-libc and musl-libc-dev (1.2.2 -> 1.2.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 13 17:42:49 2022 +0100 (2022-04-13) |
parents | c251d5eb8ec2 |
children | 38c32fd69682 |
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 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.gnumeric.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="at-spi2 at-spi2-atk atk bzlib cairo dbus fontconfig freetype \
14 gdk-pixbuf glib glibc-base gtk+3 harfbuzz libcroco libffi libgio libgsf libpng \
15 librsvg libxcb libxml2 libxslt pango pcre pixman util-linux-uuid xorg-libICE \
16 xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor \
17 xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXi \
18 xorg-libXinerama xorg-libXrandr xorg-libXrender zlib dconf"
19 BUILD_DEPENDS="gtk-doc bison goffice-dev gtk+3-dev libcroco-dev rarian"
21 current_version()
22 {
23 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
24 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --without-perl \
32 --without-python \
33 --without-gda \
34 $CONFIGURE_ARGS &&
35 make && make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib $fs/usr/share
43 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 cp -a $install/usr/lib/gnumeric $fs/usr/lib
47 cp -a $install/usr/lib/goffice $fs/usr/lib
48 find $fs/usr/lib -name '*.la' -delete
50 cp -a $install/usr/share/applications $fs/usr/share
51 cp -a $install/usr/share/glib-2.0 $fs/usr/share
52 cp -a $install/usr/share/gnumeric $fs/usr/share
53 cp -a $install/usr/share/icons $fs/usr/share
54 cp -a $install/usr/share/pixmaps $fs/usr/share
55 find $fs/usr/share/pixmaps -name '*.ico' -delete
56 }