wok-6.x view fdupes/receipt @ rev 25253

updated pyvim (2.0.24 -> 3.0.2)
author Hans-G?nter Theisgen
date Thu Jul 14 07:49:44 2022 +0100 (2022-07-14)
parents 7a94a8614d8b
children
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 }