wok-next view goffice/receipt @ rev 1471

atl2: force kernel path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 04 12:16:12 2008 +0000 (2008-10-04)
parents
children ef616884d9ee
line source
1 # SliTaz package receipt.
3 PACKAGE="goffice"
4 VERSION="0.6.2"
5 CATEGORY="x-window"
6 SHORT_DESC="GOffice is a library of document-centric objects and utilities."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libgsf libglade"
9 BUILD_DEPENDS="gtk+-dev libgsf-dev libglade-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://freshmeat.net/projects/goffice/"
12 WGET_URL="http://freshmeat.net/redir/goffice/58291/url_tgz/$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 --with-html-dir=/usr/share/doc \
22 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/usr/share
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/lib/goffice $fs/usr/lib
33 cp -a $_pkg/usr/share/goffice $fs/usr/share
34 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
35 }