wok view gnumeric/receipt @ rev 12300
linux: do not create /tmp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 16 13:24:39 2012 +0200 (2012-04-16) |
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 }