wok-6.x annotate tree/receipt @ rev 25541
w3m: fix version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 10 17:54:21 2023 +0000 (18 months 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 } |