wok-6.x view grisbi/receipt @ rev 24525
Up libav (0.6.6 -> 12.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 22 16:15:28 2022 +0000 (2022-02-22) |
parents | 533c0cab6960 |
children | 00e3b45c063b |
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="http://heanet.dl.sourceforge.net/sourceforge/grisbi/$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 }