wok-current view tree/receipt @ rev 25425
updated xa (2.3.10 -> 2.3.13)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 18 16:31:57 2022 +0100 (2022-08-18) |
parents | 1805f71c5d9f |
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 - ${WGET_URL%/*}/ 2>/dev/null | \
22 sed '/tree-/!d;/tgz/!d;s|.*tree-||;s|.tgz.*||' | sort -Vr | sed 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 }