wok-current view gnumeric/receipt @ rev 14590

drbl: its really hard to find all deps - ok, add some of them; also shrink loooong 'short desc' and add description
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon May 27 00:27:59 2013 +0000 (2013-05-27)
parents a9e0ca0f3818
children 7896f0694ef6
line source
1 # SliTaz package receipt.
3 PACKAGE="gnumeric"
4 VERSION="1.10.17"
5 CATEGORY="office"
6 SHORT_DESC="Office Spreadsheet application."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gnome.org/projects/gnumeric/"
10 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
12 DEPENDS="gtk+ libgsf goffice libart_lgpl guile libgio bzlib xorg-libXdamage"
13 BUILD_DEPENDS="gtk+-dev libgsf-dev libart_lgpl-dev goffice-dev xorg-libXdamage-dev
14 libglade-dev libxml2-dev intltool pkg-config zlib-dev bzip2-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i s'/omffile =.*/omffile =/' doc/C/Makefile*
21 ./configure \
22 --without-perl \
23 --without-python \
24 --without-gda \
25 --without-paradox \
26 --without-gnome \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
38 rm -rf $fs/usr/lib/$PACKAGE/$VERSION/include
39 rm -rf $fs/usr/lib/$PACKAGE/$VERSION/plugins/*/*.la
41 cp -a $install/usr/share/$PACKAGE $fs/usr/share
42 cp -a $install/usr/share/pixmaps $fs/usr/share
43 }