wok view goffice/receipt @ rev 12763

ftgl: add LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 12 13:25:16 2012 +0200 (2012-05-12)
parents f5022ffa7d43
children eaa75d6adeb2
line source
1 # SliTaz package receipt.
3 PACKAGE="goffice"
4 VERSION="0.8.17"
5 CATEGORY="x-window"
6 SHORT_DESC="GOffice is a library of document-centric objects and utilities."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.xz"
9 WEB_SITE="http://freshmeat.net/projects/goffice/"
10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 DEPENDS="gtk+ libgsf libglade libart_lgpl xorg-libXdamage"
13 BUILD_DEPENDS="gtk+-dev libxml2-dev libgsf libgsf-dev libglade-dev intltool \
14 expat-dev bzip2-dev librsvg-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --with-html-dir=/usr/share/doc \
22 --disable-static \
23 $CONFIGURE_ARGS &&
24 make && make 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 }