wok view tree/receipt @ rev 25518

updated gvim 8.2 -> 9.0.0133 again
author Hans-G?nter Theisgen
date Thu Feb 23 11:06:30 2023 +0100 (20 months ago)
parents 1805f71c5d9f
children 5db546345599
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 }