wok annotate gnucash/receipt @ rev 14476
gst-plugins-base-dev: update deps+bdeps
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu May 02 22:38:49 2013 +0200 (2013-05-02) |
parents | |
children | 01010da01a4a |
rev | line source |
---|---|
pascal@14379 | 1 # SliTaz package receipt. |
pascal@14379 | 2 |
pascal@14379 | 3 PACKAGE="gnucash" |
pascal@14379 | 4 VERSION="2.4.11" |
pascal@14379 | 5 CATEGORY="office" |
pascal@14379 | 6 SHORT_DESC="Financial-accounting software" |
pascal@14379 | 7 MAINTAINER="domcox@slitaz.org" |
pascal@14379 | 8 LICENSE="gpl" |
pascal@14379 | 9 WEB_SITE="http://www.gnucash.org" |
pascal@14379 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14379 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@14379 | 12 |
pascal@14379 | 13 DEPENDS="GConf gnome-vfs gmp goffice guile libgnome libgnomeui libgsf libofx libwebkit libxslt slib zlib" |
pascal@14379 | 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" |
pascal@14379 | 15 |
pascal@14379 | 16 # Rules to configure and make the package. |
pascal@14379 | 17 compile_rules() |
pascal@14379 | 18 { |
pascal@14379 | 19 # patch G_CONST_RETURN deprecated |
pascal@14379 | 20 for file_diff in $stuff/*.patch; do |
pascal@14379 | 21 echo -n "Applying patch $(basename $file_diff)" |
pascal@14379 | 22 patch -Np3 -i $file_diff > /dev/null |
pascal@14379 | 23 status |
pascal@14379 | 24 done |
pascal@14379 | 25 # busybox compliant |
pascal@14379 | 26 sed -i 's/cat -s/cat/g' $src/doc/Makefile.in |
pascal@14379 | 27 # build |
pascal@14379 | 28 ./configure $CONFIGURE_ARGS \ |
pascal@14379 | 29 --prefix="/usr" \ |
pascal@14379 | 30 --disable-html-docs \ |
pascal@14379 | 31 --with-html-engine="webkit" \ |
pascal@14379 | 32 --disable-dbi \ |
pascal@14379 | 33 --disable-ofx \ |
pascal@14379 | 34 --disable-aqbanking \ |
pascal@14379 | 35 --disable-deprecated-glib \ |
pascal@14379 | 36 --disable-schemas-install \ |
pascal@14379 | 37 LDFLAGS='-Wl,-O1 -Wl,--as-needed' && |
pascal@14379 | 38 make && make -j1 install |
pascal@14379 | 39 } |
pascal@14379 | 40 |
pascal@14379 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14379 | 42 genpkg_rules() |
pascal@14379 | 43 { |
pascal@14379 | 44 cp -a $install/* $fs |
pascal@14379 | 45 } |