wok-next annotate gnumeric/receipt @ rev 11161

Up: gnumeric to 1.10.17.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Nov 02 06:52:19 2011 +0000 (2011-11-02)
parents b2f255edf512
children 82cc3c06b069
rev   line source
pankso@566 1 # SliTaz package receipt.
pankso@566 2
pankso@566 3 PACKAGE="gnumeric"
slaxemulator@11161 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"
slaxemulator@7108 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@566 9 WEB_SITE="http://www.gnome.org/projects/gnumeric/"
slaxemulator@7108 10 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@566 11
slaxemulator@11161 12 DEPENDS="gtk+ libgsf goffice libart_lgpl guile libgio bzlib xorg-libXdamage"
slaxemulator@11161 13 BUILD_DEPENDS="gtk+-dev libgsf-dev libart_lgpl-dev goffice-dev xorg-libXdamage-dev libglade-dev libxml2-dev intltool pkg-config zlib-dev bzip2-dev"
slaxemulator@11161 14
pankso@566 15 # Rules to configure and make the package.
pankso@566 16 compile_rules()
pankso@566 17 {
pankso@566 18 cd $src
pascal@5905 19 sed -i s'/omffile =.*/omffile =/' doc/C/Makefile*
pankso@566 20 ./configure \
jozee@2799 21 --without-perl \
jozee@2799 22 --without-python \
jozee@2799 23 --without-gda \
jozee@2799 24 --without-paradox \
pascal@1524 25 $CONFIGURE_ARGS &&
slaxemulator@11161 26 make &&
slaxemulator@11161 27 make install
pankso@566 28 }
pankso@566 29
pankso@566 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@566 31 genpkg_rules()
pankso@566 32 {
pankso@566 33 mkdir -p $fs/usr/lib $fs/usr/share
pankso@566 34 cp -a $_pkg/usr/bin $fs/usr
pankso@566 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@566 36 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
pankso@566 37 rm -rf $fs/usr/lib/$PACKAGE/$VERSION/include
pankso@566 38 rm -rf $fs/usr/lib/$PACKAGE/$VERSION/plugins/*/*.la
pankso@4166 39
pankso@566 40 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
pankso@566 41 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
pankso@566 42 }
pankso@566 43