wok-current annotate tree/receipt @ rev 25792
Fix openbox menu, label keymap on lxpanel and add miss it translation for tazpkg
| author | Stanislas Leduc <shann@slitaz.org> |
|---|---|
| date | Tue Oct 07 05:55:24 2025 +0000 (2 weeks ago) |
| parents | 1805f71c5d9f |
| children |
| rev | line source |
|---|---|
| MikeDSmith25@1401 | 1 # SliTaz package receipt. |
| MikeDSmith25@1401 | 2 |
| MikeDSmith25@1401 | 3 PACKAGE="tree" |
| Hans-Günter@25373 | 4 VERSION="2.0.2" |
| 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@25373 | 10 REPOLOGY="tree-steve-baker" |
| Hans-Günter@22051 | 11 |
| MikeDSmith25@1401 | 12 TARBALL="$PACKAGE-$VERSION.tgz" |
| pascal@24976 | 13 WGET_URL="https://gitlab.com/OldManProgrammer/unix-tree/-/archive/$VERSION/unix-tree-$VERSION.tar.gz" |
| MikeDSmith25@1401 | 14 |
| Hans-Günter@25373 | 15 DEPENDS="gcc83-lib-base" |
| Hans-Günter@25373 | 16 BUILD_DEPENDS="gcc83" |
| Hans-Günter@25373 | 17 |
| pascal@24326 | 18 # What is the latest version available today? |
| pascal@24326 | 19 current_version() |
| pascal@24326 | 20 { |
| pascal@24384 | 21 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
| pascal@24384 | 22 sed '/tree-/!d;/tgz/!d;s|.*tree-||;s|.tgz.*||' | sort -Vr | sed q |
| pascal@24326 | 23 } |
| pascal@24326 | 24 |
| MikeDSmith25@1401 | 25 # Rules to configure and make the package. |
| MikeDSmith25@1401 | 26 compile_rules() |
| MikeDSmith25@1401 | 27 { |
| Hans-Günter@25373 | 28 make CC=gcc-83 CXX=g++-83 && |
| Hans-Günter@22051 | 29 make install \ |
| Hans-Günter@22051 | 30 BINDIR=$DESTDIR/usr/bin \ |
| Hans-Günter@22051 | 31 MANDIR=$DESTDIR/usr/share/man |
| MikeDSmith25@1401 | 32 } |
| MikeDSmith25@1401 | 33 |
| MikeDSmith25@1401 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
| MikeDSmith25@1401 | 35 genpkg_rules() |
| MikeDSmith25@1401 | 36 { |
| Hans-Günter@25373 | 37 mkdir -p $fs/usr/bin |
| Hans-Günter@25373 | 38 cp -a $src/tree $fs/usr/bin |
| MikeDSmith25@1401 | 39 } |