wok view bazaar-tools/receipt @ rev 24491

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 18 22:59:06 2022 +0000 (2022-02-18)
parents 324c13268efe
children 3e075bf0378a
line source
1 # SliTaz package receipt.
3 PACKAGE="bazaar-tools"
4 VERSION="2.6.0"
5 CATEGORY="development"
6 SHORT_DESC="Useful collection of utilities (all plugins, right now) for bazaar."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 SOURCE="bzrtools"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://bazaar-vcs.org/BzrTools"
12 WGET_URL="https://launchpad.net/$SOURCE/stable/$VERSION/+download/$TARBALL"
14 DEPENDS="bazaar python"
15 BUILD_DEPENDS="wget"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - http://bazaar.launchpad.net/~abentley/bzrtools/bzrtools.dev/changes 2>/dev/null | \
21 sed '/elease-/!d;s|.*elease-||;s|<.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/lib $fs/usr
35 }
37 ## -----------------------------------------------------------------------
38 ## Revision: 03/Aug/2017 - SliTaz DevTeam.
39 ## URL: "http://bazaar-vcs.org/BzrTools" is OFF.
40 ## This looks good? => http://wiki.bazaar.canonical.com/BzrTools
41 ## !! Please, remove this after you update. Thank you.