SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "tree"

# SliTaz package receipt.

PACKAGE="tree"
VERSION="2.0.2"
CATEGORY="utilities"
SHORT_DESC="Recursive directory listing program."
MAINTAINER="MikeDSmith25@gmail.com"
LICENSE="GPL2"
WEB_SITE="https://github.com/pyr/tree"
REPOLOGY="tree-steve-baker"

TARBALL="$PACKAGE-$VERSION.tgz"
WGET_URL="https://gitlab.com/OldManProgrammer/unix-tree/-/archive/$VERSION/unix-tree-$VERSION.tar.gz"

DEPENDS="gcc83-lib-base"
BUILD_DEPENDS="gcc83"

# What is the latest version available today?
current_version()
{
    wget -O - https://gitlab.com/OldManProgrammer/unix-tree/-/tags?sort=updated_desc 2>/dev/null | \
    sed '/item-title/!d;s|.*tags/||;s|".*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    make    CC=gcc-83 CXX=g++-83 &&
    make    install            \
        BINDIR=$DESTDIR/usr/bin    \
        MANDIR=$DESTDIR/usr/share/man
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $src/tree    $fs/usr/bin
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)