wok-6.x view homebank/receipt @ rev 24654
updated i7z (0.27.3 -> 0.27.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 06:54:52 2022 +0100 (2022-03-11) |
parents | d3b18d6d9f71 |
children | 4f225ad3e12e |
line source
1 # SliTaz package receipt
3 PACKAGE="homebank"
4 VERSION="4.4"
5 CATEGORY="office"
6 SHORT_DESC="Personal accounts manager."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://homebank.free.fr/"
11 WGET_URL="http://homebank.free.fr/public/$TARBALL"
12 TAGS="office finance"
14 DEPENDS="gtk+ xorg-libXdamage"
15 BUILD_DEPENDS="intltool gtk+-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # GTK+ dont support svg
28 sed -i s/svg/png/ src/*.c
29 chmod +x install-sh
30 ./configure --without-ofx &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share/homebank $fs/usr/share/icons/hicolor
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/homebank/images $fs/usr/share/homebank
42 cp -a $install/usr/share/icons/hicolor/48x48 $fs/usr/share/icons/hicolor
43 }