wok annotate gnumeric/receipt @ rev 20256

Add tlp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 13 23:01:20 2018 +0100 (2018-03-13)
parents 70afe2c27c16
children c251d5eb8ec2
rev   line source
pankso@566 1 # SliTaz package receipt.
pankso@566 2
pankso@566 3 PACKAGE="gnumeric"
al@19466 4 VERSION="1.12.32"
pankso@566 5 CATEGORY="office"
pankso@566 6 SHORT_DESC="Office Spreadsheet application."
pankso@566 7 MAINTAINER="pankso@slitaz.org"
al@19466 8 LICENSE="GPL"
al@19466 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19466 10 WEB_SITE="http://www.gnumeric.org/"
al@19466 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@566 12
al@19468 13 DEPENDS="at-spi2 at-spi2-atk atk bzlib cairo dbus fontconfig freetype \
al@19468 14 gdk-pixbuf glib glibc-base gtk+3 harfbuzz libcroco libffi libgio libgsf libpng \
al@19468 15 librsvg libxcb libxml2 libxslt pango pcre pixman util-linux-uuid xorg-libICE \
al@19468 16 xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor \
al@19468 17 xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXi \
al@19482 18 xorg-libXinerama xorg-libXrandr xorg-libXrender zlib dconf"
pascal@19773 19 BUILD_DEPENDS="gtk-doc bison goffice-dev gtk+3-dev libcroco-dev"
slaxemulator@11161 20
pankso@566 21 # Rules to configure and make the package.
pankso@566 22 compile_rules()
pankso@566 23 {
pankso@566 24 ./configure \
jozee@2799 25 --without-perl \
jozee@2799 26 --without-python \
jozee@2799 27 --without-gda \
pascal@1524 28 $CONFIGURE_ARGS &&
pankso@11784 29 make && make install
pankso@566 30 }
pankso@566 31
pankso@566 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@566 33 genpkg_rules()
pankso@566 34 {
pankso@566 35 mkdir -p $fs/usr/lib $fs/usr/share
pankso@4166 36
al@18531 37 cp -a $install/usr/bin $fs/usr
al@18531 38
al@18531 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@18531 40 cp -a $install/usr/lib/gnumeric $fs/usr/lib
al@19468 41 cp -a $install/usr/lib/goffice $fs/usr/lib
al@18531 42 find $fs/usr/lib -name '*.la' -delete
al@18531 43
al@18531 44 cp -a $install/usr/share/applications $fs/usr/share
al@18531 45 cp -a $install/usr/share/glib-2.0 $fs/usr/share
al@18531 46 cp -a $install/usr/share/gnumeric $fs/usr/share
al@18531 47 cp -a $install/usr/share/icons $fs/usr/share
al@18531 48 cp -a $install/usr/share/pixmaps $fs/usr/share
al@18531 49 find $fs/usr/share/pixmaps -name '*.ico' -delete
pankso@566 50 }