SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "fdupes"

# SliTaz package receipt.

PACKAGE="fdupes"
VERSION="2.1.2"
CATEGORY="misc"
SHORT_DESC="Identify or delete duplicate files in specified directories."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://github.com/adrianlopezroche/fdupes"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/adrianlopezroche/$PACKAGE/archive/v$VERSION.tar.gz"

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

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/adrianlopezroche/fdupes/releases 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    autoreconf -i &&
    ./configure        \
        --prefix=/usr    \
        $CONFIGURE_ARGS &&
    make
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $src/fdupes    $fs/usr/bin
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)