wok-current view gnucash/receipt @ rev 15473

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 09 20:47:29 2013 +0000 (2013-11-09)
parents 01010da01a4a
children 97ac1a0d4e37
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 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 }