wok annotate tree/receipt @ rev 24326

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 27 12:16:00 2022 +0000 (2022-01-27)
parents 804a303f31dc
children fb22330086d8
rev   line source
MikeDSmith25@1401 1 # SliTaz package receipt.
MikeDSmith25@1401 2
MikeDSmith25@1401 3 PACKAGE="tree"
Hans-G?nter@22051 4 VERSION="1.8.0"
MikeDSmith25@1401 5 CATEGORY="utilities"
Hans-G?nter@22051 6 SHORT_DESC="Recursive directory listing program."
MikeDSmith25@1401 7 MAINTAINER="MikeDSmith25@gmail.com"
pascal@15590 8 LICENSE="GPL2"
pascal@22385 9 WEB_SITE="https://github.com/pyr/tree"
Hans-G?nter@22051 10
MikeDSmith25@1401 11 TARBALL="$PACKAGE-$VERSION.tgz"
MikeDSmith25@1401 12 WGET_URL="ftp://mama.indstate.edu/linux/tree/$TARBALL"
MikeDSmith25@1401 13
pascal@24326 14 # What is the latest version available today?
pascal@24326 15 current_version()
pascal@24326 16 {
pascal@24326 17 wget -O - $WEB_SITE/tags 2>/dev/null | \
pascal@24326 18 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24326 19 }
pascal@24326 20
MikeDSmith25@1401 21 # Rules to configure and make the package.
MikeDSmith25@1401 22 compile_rules()
MikeDSmith25@1401 23 {
Hans-G?nter@22051 24 make &&
Hans-G?nter@22051 25 make install \
Hans-G?nter@22051 26 BINDIR=$DESTDIR/usr/bin \
Hans-G?nter@22051 27 MANDIR=$DESTDIR/usr/share/man
MikeDSmith25@1401 28 }
MikeDSmith25@1401 29
MikeDSmith25@1401 30 # Rules to gen a SliTaz package suitable for Tazpkg.
MikeDSmith25@1401 31 genpkg_rules()
MikeDSmith25@1401 32 {
MikeDSmith25@1401 33 mkdir -p $fs/usr
slaxemulator@10999 34 cp -a $install/usr/bin $fs/usr
MikeDSmith25@1401 35 }