wok-current view grisbi/receipt @ rev 24988
Fix perl-gd & tcptrack
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 12 11:01:25 2022 +0000 (2022-05-12) |
parents | 370da83187ab |
children |
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 }