wok annotate tree/receipt @ rev 24350

updated meson (0.53.2 -> 0.60.2)
author Hans-G?nter Theisgen
date Thu Feb 03 09:19:33 2022 +0100 (2022-02-03)
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 }