wok-6.x annotate grisbi/receipt @ rev 25163

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