wok annotate homebank/receipt @ rev 25591
enet: update wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 22 11:01:59 2023 +0000 (14 months ago) |
parents | 4f225ad3e12e |
children | a3503ff52a2e |
rev | line source |
---|---|
pankso@1049 | 1 # SliTaz package receipt |
pankso@1049 | 2 |
pankso@1049 | 3 PACKAGE="homebank" |
erkan@20318 | 4 VERSION="4.4" |
pankso@1049 | 5 CATEGORY="office" |
pankso@1049 | 6 SHORT_DESC="Personal accounts manager." |
pankso@1049 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15076 | 8 LICENSE="GPL2" |
pankso@1049 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25438 | 10 WEB_SITE="http://homebank.free.fr/en/index.php" |
pascal@25118 | 11 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL" |
jozee@4937 | 12 TAGS="office finance" |
pankso@1049 | 13 |
pascal@15076 | 14 DEPENDS="gtk+ xorg-libXdamage" |
pascal@15076 | 15 BUILD_DEPENDS="intltool gtk+-dev" |
pascal@15076 | 16 |
pascal@24445 | 17 # What is the latest version available today? |
pascal@24445 | 18 current_version() |
pascal@24445 | 19 { |
pascal@24445 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24445 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24445 | 22 } |
pascal@24445 | 23 |
pankso@1049 | 24 # Rules to configure and make the package. |
pankso@1049 | 25 compile_rules() |
al@17261 | 26 { |
pankso@1049 | 27 # GTK+ dont support svg |
pankso@1049 | 28 sed -i s/svg/png/ src/*.c |
slaxemulator@6418 | 29 chmod +x install-sh |
al@17261 | 30 ./configure --without-ofx && |
pascal@2529 | 31 make && |
slaxemulator@9561 | 32 make install |
pankso@1049 | 33 } |
pankso@1049 | 34 |
pankso@1049 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1049 | 36 genpkg_rules() |
pankso@1049 | 37 { |
al@17261 | 38 mkdir -p $fs/usr/share/homebank $fs/usr/share/icons/hicolor |
al@17261 | 39 |
pascal@15076 | 40 cp -a $install/usr/bin $fs/usr |
pascal@15076 | 41 cp -a $install/usr/share/homebank/images $fs/usr/share/homebank |
al@17261 | 42 cp -a $install/usr/share/icons/hicolor/48x48 $fs/usr/share/icons/hicolor |
pankso@1049 | 43 } |