wok view gnucash/receipt @ rev 16125
ARM: add xorg-libXdamage and conky
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 23 22:52:11 2014 +0100 (2014-03-23) |
parents | 61e0036e2275 |
children | 392bf9b24667 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnucash"
4 VERSION="2.6.0"
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="da de es fr it pt_BR ru zh_CN"
14 DEPENDS="glib gtk+ goffice guile libgnomecanvas libofx libwebkit libxml2 \
15 libxslt perl slib zlib util-linux-uuid"
16 BUILD_DEPENDS="glib-dev gtk-dev goffice-dev guile-dev libgnomecanvas-dev \
17 libofx-dev libwebkit-dev libxml2-dev libxslt-dev perl slib zlib-dev intltool \
18 util-linux-uuid-dev "
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 # /etc
43 cp -a $install/etc $fs
44 mkdir -p $fs/usr/share
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 }