wok view tree/receipt @ rev 24717

updated liba53 (0.1 -> 4.0.0)
author Hans-G?nter Theisgen
date Tue Mar 15 07:27:19 2022 +0100 (2022-03-15)
parents fb22330086d8
children 1805f71c5d9f
line source
1 # SliTaz package receipt.
3 PACKAGE="tree"
4 VERSION="1.8.0"
5 CATEGORY="utilities"
6 SHORT_DESC="Recursive directory listing program."
7 MAINTAINER="MikeDSmith25@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/pyr/tree"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="http://mama.indstate.edu/users/ice/tree/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
18 sed '/tree-/!d;/tgz/!d;s|.*tree-||;s|.tgz.*||' | sort -Vr | sed q
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 make &&
25 make install \
26 BINDIR=$DESTDIR/usr/bin \
27 MANDIR=$DESTDIR/usr/share/man
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }