wok annotate tree/receipt @ rev 25040

cups-filters: use standard c++14
author Hans-G?nter Theisgen
date Fri May 27 07:47:27 2022 +0100 (2022-05-27)
parents bc2b9d9bed6f
children 0456ac2803aa
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"
pascal@24976 12 WGET_URL="https://gitlab.com/OldManProgrammer/unix-tree/-/archive/$VERSION/unix-tree-$VERSION.tar.gz"
MikeDSmith25@1401 13
pascal@24326 14 # What is the latest version available today?
pascal@24326 15 current_version()
pascal@24326 16 {
pascal@24384 17 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24384 18 sed '/tree-/!d;/tgz/!d;s|.*tree-||;s|.tgz.*||' | sort -Vr | sed 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 }