wok-current view labyrinth/receipt @ rev 24308
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 17 18:18:17 2022 +0000 (2022-01-17) |
parents | eeba7ab1dffe |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="labyrinth"
4 VERSION="0.7a1"
5 CATEGORY="office"
6 SHORT_DESC="Labyrinth is a lightweight mind-mapping tool."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://github.com/labyrinth-team/labyrinth"
11 WGET_URL="git|git://github.com/labyrinth-team/labyrinth"
13 DEPENDS="python pygtk gtk+ python-xdg pycairo pygobject python-gconf"
14 BUILD_DEPENDS="bzip2 git python-dev pygtk-dev gtk+-dev pycairo-dev \
15 pygobject-dev gettext"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --root=$DESTDIR
28 ./install_data_files.sh DESTDIR=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }