wok annotate gnumeric/receipt @ rev 19464

reverting: building this 5-year diff gap didn't work out, user request: http://forum.slitaz.org/topic/gnumeric-110-buggy-how-can-i-get-112
author Erkan Yilmaz <erkan@slitaz.org>
date Mon Oct 24 11:39:42 2016 +0000 (2016-10-24)
parents 8dfa5f2c7d46
children f83bd64e1765
rev   line source
pankso@566 1 # SliTaz package receipt.
pankso@566 2
pankso@566 3 PACKAGE="gnumeric"
erkan@19464 4 VERSION="1.10.17"
pankso@566 5 CATEGORY="office"
pankso@566 6 SHORT_DESC="Office Spreadsheet application."
pankso@566 7 MAINTAINER="pankso@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
erkan@19464 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@566 10 WEB_SITE="http://www.gnome.org/projects/gnumeric/"
erkan@19464 11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@566 12
pankso@11784 13 DEPENDS="gtk+ libgsf goffice libart_lgpl guile libgio bzlib xorg-libXdamage"
pankso@11784 14 BUILD_DEPENDS="gtk+-dev libgsf-dev libart_lgpl-dev goffice-dev xorg-libXdamage-dev
pankso@11784 15 libglade-dev libxml2-dev intltool pkg-config zlib-dev bzip2-dev"
slaxemulator@11161 16
pankso@566 17 # Rules to configure and make the package.
pankso@566 18 compile_rules()
pankso@566 19 {
pankso@566 20 cd $src
pascal@5905 21 sed -i s'/omffile =.*/omffile =/' doc/C/Makefile*
pankso@566 22 ./configure \
jozee@2799 23 --without-perl \
jozee@2799 24 --without-python \
jozee@2799 25 --without-gda \
jozee@2799 26 --without-paradox \
pankso@11784 27 --without-gnome \
pascal@1524 28 $CONFIGURE_ARGS &&
pankso@11784 29 make && make install
al@18531 30
al@18531 31 sed -i 's|zz-application/zz-winassoc-xls;||' \
al@18531 32 $install/usr/share/applications/gnumeric.desktop
pankso@566 33 }
pankso@566 34
pankso@566 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@566 36 genpkg_rules()
pankso@566 37 {
pankso@566 38 mkdir -p $fs/usr/lib $fs/usr/share
pankso@4166 39
al@18531 40 cp -a $install/usr/bin $fs/usr
al@18531 41
al@18531 42 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@18531 43 cp -a $install/usr/lib/gnumeric $fs/usr/lib
al@18531 44 find $fs/usr/lib -name '*.la' -delete
al@18531 45
al@18531 46 cp -a $install/usr/share/applications $fs/usr/share
al@18531 47 cp -a $install/usr/share/glib-2.0 $fs/usr/share
al@18531 48 cp -a $install/usr/share/gnumeric $fs/usr/share
al@18531 49 cp -a $install/usr/share/icons $fs/usr/share
al@18531 50 rm -r $fs/usr/share/icons/hicolor/scalable
al@18531 51 cp -a $install/usr/share/pixmaps $fs/usr/share
al@18531 52 find $fs/usr/share/pixmaps -name '*.ico' -delete
pankso@566 53 }