wok-6.x annotate gnucash/receipt @ rev 20641

Add SSL support to retawq (needed by man to browse linux.die.net)
author Lucas Levrel <llevrel@yahoo.fr>
date Fri Jan 11 09:19:11 2019 +0100 (2019-01-11)
parents c9a9ee5844bb
children 932cd974e081
rev   line source
pascal@14379 1 # SliTaz package receipt.
pascal@14379 2
pascal@14379 3 PACKAGE="gnucash"
devl547@16225 4 VERSION="2.6.3"
pascal@14379 5 CATEGORY="office"
pascal@14379 6 SHORT_DESC="Financial-accounting software"
pascal@14379 7 MAINTAINER="domcox@slitaz.org"
domcox@15741 8 LICENSE="GPL2"
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"
al@16691 12 LOCALES="cs da de el es fr hu it pl pt pt_BR ru sv zh_CN zh_TW"
pascal@14379 13
pascal@19821 14 DEPENDS="glib gtk+ goffice-gtk2 guile libgnomecanvas libofx libwebkit libxml2 \
domcox@15740 15 libxslt perl slib zlib util-linux-uuid"
pascal@19821 16 BUILD_DEPENDS="glib-dev gtk+-dev goffice-gtk2-dev guile-dev libgnomecanvas-dev \
domcox@15740 17 libofx-dev libwebkit-dev libxml2-dev libxslt-dev perl slib zlib-dev intltool \
pascal@16642 18 util-linux-uuid-dev libtool"
pascal@14379 19
pascal@14379 20 # Rules to configure and make the package.
pascal@14379 21 compile_rules()
pascal@14379 22 {
domcox@15740 23 # busybox compliance
pascal@14379 24 sed -i 's/cat -s/cat/g' $src/doc/Makefile.in
pascal@14379 25 # build
domcox@15740 26 ./configure \
domcox@15740 27 --prefix=/usr \
domcox@15740 28 --sysconfdir=/etc \
domcox@15740 29 --libexecdir=/usr/lib \
pascal@14379 30 --disable-dbi \
domcox@15740 31 --enable-ofx \
pascal@14379 32 --disable-aqbanking \
domcox@15740 33 --enable-locale-specific-tax \
domcox@15740 34 $CONFIGURE_ARGS &&
domcox@15740 35 make &&
al@20482 36 make -j1 install DESTDIR=$install
pascal@14379 37 }
pascal@14379 38
pascal@14379 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14379 40 genpkg_rules()
pascal@14379 41 {
al@16691 42 mkdir -p $fs/usr/share/locale
domcox@15740 43 # /etc
domcox@15740 44 cp -a $install/etc $fs
domcox@15740 45 # /usr/bin
domcox@15740 46 cp -a $install/usr/bin $fs/usr
domcox@15740 47 # /usr/lib
domcox@15740 48 cp -a $install/usr/lib $fs/usr
domcox@15740 49 rm -f $fs/usr/lib/*.*a
domcox@15740 50 rm -f $fs/usr/lib/gnucash/*.*a
domcox@15740 51 # /usr/share
domcox@15740 52 local sharedirs="appdata applications glib-2.0 gnucash"
domcox@15740 53 for dir in $sharedirs; do
domcox@15740 54 cp -a $install/usr/share/$dir $fs/usr/share
domcox@15740 55 done
domcox@15740 56 # desktop file and icon
domcox@15740 57 mkdir -p $fs/usr/share/pixmaps
domcox@15740 58 cp -a $install/usr/share/icons/hicolor/32x32/apps/gnucash-icon.png \
domcox@15740 59 $fs/usr/share/pixmaps/gnucash.png
domcox@15740 60 sed -i 's/Icon=.*/Icon=gnucash/' \
domcox@15740 61 $install/usr/share/applications/gnucash.desktop
domcox@15740 62 # locales
domcox@15740 63 for locale in $LOCALES; do
domcox@15740 64 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
domcox@15740 65 done
pascal@14379 66 }