wok view homebank/receipt @ rev 25442

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 16:30:36 2022 +0000 (2022-09-02)
parents 4f225ad3e12e
children a3503ff52a2e
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/en/index.php"
11 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$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 }