wok view gnumeric/receipt @ rev 20235

busybox: add arch (uname -m alias)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 05 15:52:59 2018 +0100 (2018-03-05)
parents 70afe2c27c16
children
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"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --without-perl \
26 --without-python \
27 --without-gda \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/lib/gnumeric $fs/usr/lib
41 cp -a $install/usr/lib/goffice $fs/usr/lib
42 find $fs/usr/lib -name '*.la' -delete
44 cp -a $install/usr/share/applications $fs/usr/share
45 cp -a $install/usr/share/glib-2.0 $fs/usr/share
46 cp -a $install/usr/share/gnumeric $fs/usr/share
47 cp -a $install/usr/share/icons $fs/usr/share
48 cp -a $install/usr/share/pixmaps $fs/usr/share
49 find $fs/usr/share/pixmaps -name '*.ico' -delete
50 }