wok-current view songwrite/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents 669f61f44760
children
line source
1 # SliTaz package receipt.
3 PACKAGE="songwrite"
4 SOURCE="Songwrite2"
5 VERSION="0.4"
6 CATEGORY="multimedia"
7 SHORT_DESC="music score and songbook editor."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.lesfleursdunormal.fr/static/informatique/songwrite/index_en.html"
12 WGET_URL="https://web.archive.org/web/20170225200400if_/http://download.gna.org/songwrite/$TARBALL"
14 DEPENDS="python editobj gtk+ pycairo"
15 BUILD_DEPENDS="python"
16 SUGGESTED="TiMidity++ evince"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/Songwrite 2 [0-9]/!d;s|.*Songwrite 2 ||;s|<.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 python ./setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
36 }