wok-current view gnumeric/receipt @ rev 9806
flac: fix stuff path
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 14 22:46:14 2011 +0200 (2011-05-14) |
parents | c077179a640d |
children | 7e7ac588d1f4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnumeric"
4 VERSION="1.10.14"
5 CATEGORY="office"
6 SHORT_DESC="Office Spreadsheet application."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libgsf goffice libart_lgpl guile libgio bzlib xorg-libXdamage"
9 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"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.gnome.org/projects/gnumeric/"
12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i s'/omffile =.*/omffile =/' doc/C/Makefile*
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 --without-perl \
23 --without-python \
24 --without-gda \
25 --without-paradox \
26 $CONFIGURE_ARGS &&
27 make -j 4 &&
28 make DESTDIR=$PWD/_pkg 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 $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/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 $_pkg/usr/share/$PACKAGE $fs/usr/share
42 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
43 }