wok view grisbi/receipt @ rev 25306

sip-4.19.25: last version for Python 2
author Hans-G?nter Theisgen
date Wed Jul 20 10:39:41 2022 +0100 (2022-07-20)
parents 370da83187ab
children 6b33f9da53d4
line source
1 # SliTaz package receipt.
3 PACKAGE="grisbi"
4 VERSION="1.0.0"
5 CATEGORY="office"
6 SHORT_DESC="Personnal bank manager"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.grisbi.org/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="gtk+ xorg-libXdamage libofx libofx libssl"
14 BUILD_DEPENDS="pkg-config glib gtk+ libxml2 gtk+-dev glib-dev libofx-dev \
15 opensp-dev openssl-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/grisbi/files/grisbi%20stable/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;/tar/!d;s|.*/grisbi-||;s|.tar.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 for i in applications grisbi icons pixmaps; do
41 cp -a $install/usr/share/$i $fs/usr/share
42 done
43 }