SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ncdu"

# SliTaz package receipt.

PACKAGE="ncdu"
VERSION="1.16"
CATEGORY="utilities"
SHORT_DESC="NCurses Disk Usage."
MAINTAINER="paul@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://dev.yorhel.nl/ncdu"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://dev.yorhel.nl/download/$TARBALL"

DEPENDS="ncurses ncursesw"
BUILD_DEPENDS="ncursesw-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure                \
        --prefix=/usr            \
        --infodir=/usr/share/info    \
        --mandir=/usr/share/man        \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)