wok view homebank/receipt @ rev 25118

Use https://download.tuxfamily.org/ for some broken wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 25 16:14:50 2022 +0000 (22 months ago)
parents af8d823a3077
children 8ea0030e77cb
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="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 }