wok view tree/receipt @ rev 25603

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 18 11:43:32 2023 +0000 (10 months ago)
parents 0456ac2803aa
children 1e09c4c56491
line source
1 # SliTaz package receipt.
3 PACKAGE="tree"
4 VERSION="2.0.2"
5 CATEGORY="utilities"
6 SHORT_DESC="Recursive directory listing program."
7 MAINTAINER="MikeDSmith25@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/pyr/tree"
10 REPOLOGY="tree-steve-baker"
12 TARBALL="$PACKAGE-$VERSION.tgz"
13 WGET_URL="https://gitlab.com/OldManProgrammer/unix-tree/-/archive/$VERSION/unix-tree-$VERSION.tar.gz"
15 DEPENDS="gcc83-lib-base"
16 BUILD_DEPENDS="gcc83"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE/tags 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 make CC=gcc-83 CXX=g++-83 &&
29 make install \
30 BINDIR=$DESTDIR/usr/bin \
31 MANDIR=$DESTDIR/usr/share/man
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin
38 cp -a $src/tree $fs/usr/bin
39 }