wok view songwrite/receipt @ rev 24789
grep: add post_install (install)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 21 09:36:52 2022 +0000 (2022-03-21) |
parents | 8dd8bab3f0ca |
children | c85bdee1fe53 |
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="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 }