wok-current view gnucash/receipt @ rev 15620

gnet, gnucash: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 08 11:24:30 2013 +0000 (2013-12-08)
parents 2b9f96603415
children 61e0036e2275
line source
1 # SliTaz package receipt.
3 PACKAGE="gnucash"
4 VERSION="2.4.11"
5 CATEGORY="office"
6 SHORT_DESC="Financial-accounting software"
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.gnucash.org"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="GConf gnome-vfs gmp goffice guile libgnome libgnomeui libgsf libofx \
14 libwebkit libxslt slib zlib"
15 BUILD_DEPENDS="GConf-dev gnome-vfs-dev gmp-dev goffice-dev guile-dev \
16 libgnome-dev libgnomeui-dev libgsf-dev libofx-dev libtool libwebkit-dev \
17 libxslt-dev slib util-linux-uuid-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # patch G_CONST_RETURN deprecated
23 for file_diff in $stuff/*.patch; do
24 echo -n "Applying patch $(basename $file_diff)"
25 patch -Np3 -i $file_diff > /dev/null
26 status
27 done
28 # busybox compliant
29 sed -i 's/cat -s/cat/g' $src/doc/Makefile.in
30 # build
31 ./configure $CONFIGURE_ARGS \
32 --prefix="/usr" \
33 --disable-html-docs \
34 --with-html-engine="webkit" \
35 --disable-dbi \
36 --disable-ofx \
37 --disable-aqbanking \
38 --disable-deprecated-glib \
39 --disable-schemas-install \
40 LDFLAGS='-Wl,-O1 -Wl,--as-needed' &&
41 make && make -j1 install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 cp -a $install/* $fs
48 }