wok view fdupes/receipt @ rev 24543

updated fdupes (2.0.0 -> 2.1.2)
author Hans-G?nter Theisgen
date Thu Feb 24 14:48:20 2022 +0100 (2022-02-24)
parents 5ea0ce1cecc0
children bc2b9d9bed6f
line source
1 # SliTaz package receipt.
3 PACKAGE="fdupes"
4 VERSION="2.1.2"
5 CATEGORY="misc"
6 SHORT_DESC="Identify or delete duplicate files in specified directories."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/adrianlopezroche/fdupes"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/adrianlopezroche/$PACKAGE/archive/v$VERSION.tar.gz"
14 DEPENDS="ncursesw pcre2"
15 BUILD_DEPENDS="automake ncurses-dev pcre2-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 autoreconf -i &&
27 ./configure \
28 --prefix=/usr \
29 $CONFIGURE_ARGS &&
30 make
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 cp -a $src/fdupes $fs/usr/bin
38 }