wok annotate fdupes/receipt @ rev 24708

updated ldm (0.3 -> 0.8)
author Hans-G?nter Theisgen
date Mon Mar 14 16:37:52 2022 +0100 (2022-03-14)
parents 7a94a8614d8b
children 20ad21d5532c
rev   line source
pascal@13814 1 # SliTaz package receipt.
pascal@13814 2
pascal@13814 3 PACKAGE="fdupes"
Hans-G?nter@24543 4 VERSION="2.1.2"
pascal@13814 5 CATEGORY="misc"
Hans-G?nter@20917 6 SHORT_DESC="Identify or delete duplicate files in specified directories."
pascal@13814 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15593 8 LICENSE="MIT"
pascal@20672 9 WEB_SITE="https://github.com/adrianlopezroche/fdupes"
Hans-G?nter@20917 10
pascal@13814 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24543 12 WGET_URL="https://github.com/adrianlopezroche/$PACKAGE/archive/v$VERSION.tar.gz"
pascal@13814 13
Hans-G?nter@24543 14 DEPENDS="ncursesw pcre2"
Hans-G?nter@24543 15 BUILD_DEPENDS="automake ncurses-dev pcre2-dev"
pascal@13814 16
pascal@24614 17 # What is the latest version available today?
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24614 20 wget -O - https://github.com/adrianlopezroche/fdupes/releases 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
pascal@13814 24 # Rules to configure and make the package.
pascal@13814 25 compile_rules()
pascal@13814 26 {
Hans-G?nter@24543 27 autoreconf -i &&
Hans-G?nter@22754 28 ./configure \
Hans-G?nter@22754 29 --prefix=/usr \
Hans-G?nter@22754 30 $CONFIGURE_ARGS &&
pascal@13814 31 make
pascal@13814 32 }
pascal@13814 33
pascal@13814 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13814 35 genpkg_rules()
pascal@13814 36 {
pascal@13814 37 mkdir -p $fs/usr/bin
Hans-G?nter@22754 38 cp -a $src/fdupes $fs/usr/bin
pascal@13814 39 }