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 '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;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
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)