wok view fdupes/receipt @ rev 25614
Add libslirp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 03 11:59:41 2023 +0000 (15 months ago) |
parents | bc2b9d9bed6f |
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 '/tag\//!d;s|.*tag/v*||;s|".*||;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 }