wok-next view gnumeric/receipt @ rev 1734
memtest: build from source
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 21 10:23:14 2008 +0000 (2008-11-21) |
parents | d86a706d7fcd |
children | dbf873bf74a8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnumeric"
4 VERSION="1.8.2"
5 CATEGORY="office"
6 SHORT_DESC="Office Spreadsheet application."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libgsf goffice libart_lgpl libgio"
9 BUILD_DEPENDS="gtk+-dev libgsf-dev goffice goffice-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gnome.org/projects/gnumeric/"
12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/gnumeric/1.8/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/usr/share
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
33 rm -rf $fs/usr/lib/$PACKAGE/$VERSION/include
34 rm -rf $fs/usr/lib/$PACKAGE/$VERSION/plugins/*/*.la
36 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
37 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
38 }