wok view fdupes/receipt @ rev 25362
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 07:24:59 2022 +0000 (2022-07-28) |
parents | 7a94a8614d8b |
children | 20ad21d5532c |
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/adrianlopezroche/fdupes/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 autoreconf -i &&
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin
38 cp -a $src/fdupes $fs/usr/bin
39 }