wok view gnucash/receipt @ rev 22344

Remove squirrelmail-en_GB
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 17 16:39:12 2019 +0100 (2019-11-17)
parents c9a9ee5844bb
children 932cd974e081
line source
1 # SliTaz package receipt.
3 PACKAGE="gnucash"
4 VERSION="2.6.3"
5 CATEGORY="office"
6 SHORT_DESC="Financial-accounting software"
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.gnucash.org"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 LOCALES="cs da de el es fr hu it pl pt pt_BR ru sv zh_CN zh_TW"
14 DEPENDS="glib gtk+ goffice-gtk2 guile libgnomecanvas libofx libwebkit libxml2 \
15 libxslt perl slib zlib util-linux-uuid"
16 BUILD_DEPENDS="glib-dev gtk+-dev goffice-gtk2-dev guile-dev libgnomecanvas-dev \
17 libofx-dev libwebkit-dev libxml2-dev libxslt-dev perl slib zlib-dev intltool \
18 util-linux-uuid-dev libtool"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 # busybox compliance
24 sed -i 's/cat -s/cat/g' $src/doc/Makefile.in
25 # build
26 ./configure \
27 --prefix=/usr \
28 --sysconfdir=/etc \
29 --libexecdir=/usr/lib \
30 --disable-dbi \
31 --enable-ofx \
32 --disable-aqbanking \
33 --enable-locale-specific-tax \
34 $CONFIGURE_ARGS &&
35 make &&
36 make -j1 install DESTDIR=$install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share/locale
43 # /etc
44 cp -a $install/etc $fs
45 # /usr/bin
46 cp -a $install/usr/bin $fs/usr
47 # /usr/lib
48 cp -a $install/usr/lib $fs/usr
49 rm -f $fs/usr/lib/*.*a
50 rm -f $fs/usr/lib/gnucash/*.*a
51 # /usr/share
52 local sharedirs="appdata applications glib-2.0 gnucash"
53 for dir in $sharedirs; do
54 cp -a $install/usr/share/$dir $fs/usr/share
55 done
56 # desktop file and icon
57 mkdir -p $fs/usr/share/pixmaps
58 cp -a $install/usr/share/icons/hicolor/32x32/apps/gnucash-icon.png \
59 $fs/usr/share/pixmaps/gnucash.png
60 sed -i 's/Icon=.*/Icon=gnucash/' \
61 $install/usr/share/applications/gnucash.desktop
62 # locales
63 for locale in $LOCALES; do
64 cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
65 done
66 }