wok view tree/receipt @ rev 25295
updated screenfetch (3.5.0 -> 3.9.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jul 19 17:44:19 2022 +0100 (2022-07-19) |
parents | bc2b9d9bed6f |
children | 0456ac2803aa |
line source
1 # SliTaz package receipt.
3 PACKAGE="tree"
4 VERSION="1.8.0"
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"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="https://gitlab.com/OldManProgrammer/unix-tree/-/archive/$VERSION/unix-tree-$VERSION.tar.gz"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
18 sed '/tree-/!d;/tgz/!d;s|.*tree-||;s|.tgz.*||' | sort -Vr | sed q
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 make &&
25 make install \
26 BINDIR=$DESTDIR/usr/bin \
27 MANDIR=$DESTDIR/usr/share/man
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/bin $fs/usr
35 }