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