wok view tree/receipt @ rev 25691

Up lynis (3.1.1), ncurses-examples (20211021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 16 10:43:04 2024 +0000 (4 weeks ago)
parents 5db546345599
children
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 - https://gitlab.com/OldManProgrammer/unix-tree/-/tags?sort=updated_desc 2>/dev/null | \
22 sed '/item-title/!d;s|.*tags/||;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 }