wok-next diff gnucash/receipt @ rev 14379
Move from undigest: faenza-icon-theme-emblems fbpdf ffmpegthumbnailer-dev ffmpegthumbnailer foobillardplus-music foobillardplus gnucash hg-git moserial ptxdist re-alpine sbackup slib tumbler-dev tumbler vfu
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 22 21:54:08 2013 +0200 (2013-04-22) |
parents | |
children | 01010da01a4a |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gnucash/receipt Mon Apr 22 21:54:08 2013 +0200 1.3 @@ -0,0 +1,45 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gnucash" 1.7 +VERSION="2.4.11" 1.8 +CATEGORY="office" 1.9 +SHORT_DESC="Financial-accounting software" 1.10 +MAINTAINER="domcox@slitaz.org" 1.11 +LICENSE="gpl" 1.12 +WEB_SITE="http://www.gnucash.org" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.15 + 1.16 +DEPENDS="GConf gnome-vfs gmp goffice guile libgnome libgnomeui libgsf libofx libwebkit libxslt slib zlib" 1.17 +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" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + # patch G_CONST_RETURN deprecated 1.23 + for file_diff in $stuff/*.patch; do 1.24 + echo -n "Applying patch $(basename $file_diff)" 1.25 + patch -Np3 -i $file_diff > /dev/null 1.26 + status 1.27 + done 1.28 + # busybox compliant 1.29 + sed -i 's/cat -s/cat/g' $src/doc/Makefile.in 1.30 + # build 1.31 + ./configure $CONFIGURE_ARGS \ 1.32 + --prefix="/usr" \ 1.33 + --disable-html-docs \ 1.34 + --with-html-engine="webkit" \ 1.35 + --disable-dbi \ 1.36 + --disable-ofx \ 1.37 + --disable-aqbanking \ 1.38 + --disable-deprecated-glib \ 1.39 + --disable-schemas-install \ 1.40 + LDFLAGS='-Wl,-O1 -Wl,--as-needed' && 1.41 + make && make -j1 install 1.42 +} 1.43 + 1.44 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.45 +genpkg_rules() 1.46 +{ 1.47 + cp -a $install/* $fs 1.48 +}