wok-current annotate 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 |
rev | line source |
---|---|
pascal@11227 | 1 # SliTaz package receipt. |
pascal@11227 | 2 |
pascal@11227 | 3 PACKAGE="songwrite" |
pascal@11227 | 4 SOURCE="Songwrite2" |
pascal@11227 | 5 VERSION="0.4" |
pascal@11227 | 6 CATEGORY="multimedia" |
pascal@11227 | 7 SHORT_DESC="music score and songbook editor." |
pascal@11227 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15590 | 9 LICENSE="GPL3" |
pascal@11227 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20672 | 11 WEB_SITE="http://www.lesfleursdunormal.fr/static/informatique/songwrite/index_en.html" |
pascal@25102 | 12 WGET_URL="https://web.archive.org/web/20170225200400if_/http://download.gna.org/songwrite/$TARBALL" |
pascal@11227 | 13 |
pascal@11227 | 14 DEPENDS="python editobj gtk+ pycairo" |
pascal@11227 | 15 BUILD_DEPENDS="python" |
pascal@17487 | 16 SUGGESTED="TiMidity++ evince" |
pascal@11227 | 17 |
pascal@24505 | 18 # What is the latest version available today? |
pascal@24505 | 19 current_version() |
pascal@24505 | 20 { |
pascal@24505 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24505 | 22 sed '/Songwrite 2 [0-9]/!d;s|.*Songwrite 2 ||;s|<.*||;q' |
pascal@24505 | 23 } |
pascal@24505 | 24 |
pascal@11227 | 25 # Rules to configure and make the package. |
pascal@11227 | 26 compile_rules() |
pascal@11227 | 27 { |
pascal@11227 | 28 cd $src |
pascal@11227 | 29 python ./setup.py install --root=$DESTDIR |
pascal@11227 | 30 } |
pascal@11227 | 31 |
pascal@11227 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11227 | 33 genpkg_rules() |
pascal@11227 | 34 { |
pascal@15590 | 35 cp -a $install/usr $fs |
pascal@11227 | 36 } |