wok-current view gnucash/receipt @ rev 14430

ethumb-dev: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 24 15:28:03 2013 +0200 (2013-04-24)
parents
children 01010da01a4a
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 }