wok view gnucash/receipt @ rev 14908

slitaz-i18n: rewrite locale-pack.functions; slitaz-configs: now generate openbox desktop menu using po files; locale-*: update using new locale-pack.functions (FIXME: post_remove)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Aug 03 17:37:48 2013 +0300 (2013-08-03)
parents 33e84bccec26
children 2b9f96603415
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="GPL"
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 libwebkit libxslt slib zlib"
14 BUILD_DEPENDS="GConf-dev gnome-vfs-dev gmp-dev goffice-dev guile-dev libgnome-dev libgnomeui-dev libgsf-dev libofx-dev libtool libwebkit-dev libxslt-dev slib"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # patch G_CONST_RETURN deprecated
20 for file_diff in $stuff/*.patch; do
21 echo -n "Applying patch $(basename $file_diff)"
22 patch -Np3 -i $file_diff > /dev/null
23 status
24 done
25 # busybox compliant
26 sed -i 's/cat -s/cat/g' $src/doc/Makefile.in
27 # build
28 ./configure $CONFIGURE_ARGS \
29 --prefix="/usr" \
30 --disable-html-docs \
31 --with-html-engine="webkit" \
32 --disable-dbi \
33 --disable-ofx \
34 --disable-aqbanking \
35 --disable-deprecated-glib \
36 --disable-schemas-install \
37 LDFLAGS='-Wl,-O1 -Wl,--as-needed' &&
38 make && make -j1 install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cp -a $install/* $fs
45 }