wok-4.x view goffice/receipt @ rev 7674

Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 17:16:06 2010 +0000 (2010-12-16)
parents 03217379318a
children fb0590550cbf
line source
1 # SliTaz package receipt.
3 PACKAGE="goffice"
4 VERSION="0.8.11"
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 libart_lgpl xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev libxml2-dev libgsf libgsf-dev libglade-dev intltool expat-dev bzip2-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://freshmeat.net/projects/goffice/"
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 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 --with-html-dir=/usr/share/doc \
22 --without-gconf \
23 --disable-static \
24 $CONFIGURE_ARGS &&
25 make -j 4 &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/goffice $fs/usr/lib
35 cp -a $_pkg/usr/share/goffice $fs/usr/share
36 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
37 }