wok-6.x rev 15740
Up: gnucash (2.6.0)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Wed Jan 01 20:49:09 2014 +0100 (2014-01-01) |
parents | ab01846e9558 |
children | 731d8c9f6e94 |
files | gnucash/receipt |
line diff
1.1 --- a/gnucash/receipt Wed Jan 01 20:46:28 2014 +0100 1.2 +++ b/gnucash/receipt Wed Jan 01 20:49:09 2014 +0100 1.3 @@ -1,48 +1,66 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="gnucash" 1.7 -VERSION="2.4.11" 1.8 +VERSION="2.6.0" 1.9 CATEGORY="office" 1.10 SHORT_DESC="Financial-accounting software" 1.11 MAINTAINER="domcox@slitaz.org" 1.12 -LICENSE="GPL3" 1.13 +LICENSE="gpl" 1.14 WEB_SITE="http://www.gnucash.org" 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.17 +LOCALES="da de es fr it pt_BR ru zh_CN" 1.18 1.19 -DEPENDS="GConf gnome-vfs gmp goffice guile libgnome libgnomeui libgsf libofx \ 1.20 -libwebkit libxslt slib zlib" 1.21 -BUILD_DEPENDS="GConf-dev gnome-vfs-dev gmp-dev goffice-dev guile-dev \ 1.22 -libgnome-dev libgnomeui-dev libgsf-dev libofx-dev libtool libwebkit-dev \ 1.23 -libxslt-dev slib util-linux-uuid-dev" 1.24 +DEPENDS="glib gtk+ goffice guile libgnomecanvas libofx libwebkit libxml2 \ 1.25 +libxslt perl slib zlib util-linux-uuid" 1.26 +BUILD_DEPENDS="glib-dev gtk-dev goffice-dev guile-dev libgnomecanvas-dev \ 1.27 +libofx-dev libwebkit-dev libxml2-dev libxslt-dev perl slib zlib-dev intltool \ 1.28 +util-linux-uuid-dev " 1.29 1.30 # Rules to configure and make the package. 1.31 compile_rules() 1.32 { 1.33 - # patch G_CONST_RETURN deprecated 1.34 - for file_diff in $stuff/*.patch; do 1.35 - echo -n "Applying patch $(basename $file_diff)" 1.36 - patch -Np3 -i $file_diff > /dev/null 1.37 - status 1.38 - done 1.39 - # busybox compliant 1.40 + # busybox compliance 1.41 sed -i 's/cat -s/cat/g' $src/doc/Makefile.in 1.42 # build 1.43 - ./configure $CONFIGURE_ARGS \ 1.44 - --prefix="/usr" \ 1.45 - --disable-html-docs \ 1.46 - --with-html-engine="webkit" \ 1.47 + ./configure \ 1.48 + --prefix=/usr \ 1.49 + --sysconfdir=/etc \ 1.50 + --libexecdir=/usr/lib \ 1.51 --disable-dbi \ 1.52 - --disable-ofx \ 1.53 + --enable-ofx \ 1.54 --disable-aqbanking \ 1.55 - --disable-deprecated-glib \ 1.56 - --disable-schemas-install \ 1.57 - LDFLAGS='-Wl,-O1 -Wl,--as-needed' && 1.58 - make && make -j1 install 1.59 + --enable-locale-specific-tax \ 1.60 + $CONFIGURE_ARGS && 1.61 + make && 1.62 + make -j1 install $DESTDIR=$install 1.63 } 1.64 1.65 # Rules to gen a SliTaz package suitable for Tazpkg. 1.66 genpkg_rules() 1.67 { 1.68 - cp -a $install/* $fs 1.69 + # /etc 1.70 + cp -a $install/etc $fs 1.71 + mkdir -p $fs/usr/share 1.72 + # /usr/bin 1.73 + cp -a $install/usr/bin $fs/usr 1.74 + # /usr/lib 1.75 + cp -a $install/usr/lib $fs/usr 1.76 + rm -f $fs/usr/lib/*.*a 1.77 + rm -f $fs/usr/lib/gnucash/*.*a 1.78 + # /usr/share 1.79 + local sharedirs="appdata applications glib-2.0 gnucash" 1.80 + for dir in $sharedirs; do 1.81 + cp -a $install/usr/share/$dir $fs/usr/share 1.82 + done 1.83 + # desktop file and icon 1.84 + mkdir -p $fs/usr/share/pixmaps 1.85 + cp -a $install/usr/share/icons/hicolor/32x32/apps/gnucash-icon.png \ 1.86 + $fs/usr/share/pixmaps/gnucash.png 1.87 + sed -i 's/Icon=.*/Icon=gnucash/' \ 1.88 + $install/usr/share/applications/gnucash.desktop 1.89 + # locales 1.90 + for locale in $LOCALES; do 1.91 + cp -a $install/usr/share/locale/$locale $fs/usr/share/locale 1.92 + done 1.93 }