wok-next view gnumeric/receipt @ rev 11331

Up: links (2.4)
author Alexander Medvedev <devl547@gmail.com>
date Fri Nov 25 08:10:52 2011 +0000 (2011-11-25)
parents b2f255edf512
children 82cc3c06b069
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 libglade-dev libxml2-dev intltool pkg-config zlib-dev bzip2-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i s'/omffile =.*/omffile =/' doc/C/Makefile*
20 ./configure \
21 --without-perl \
22 --without-python \
23 --without-gda \
24 --without-paradox \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
37 rm -rf $fs/usr/lib/$PACKAGE/$VERSION/include
38 rm -rf $fs/usr/lib/$PACKAGE/$VERSION/plugins/*/*.la
40 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
41 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
42 }