wok-current annotate 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 |
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@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@13814 | 23 # Rules to configure and make the package. |
pascal@13814 | 24 compile_rules() |
pascal@13814 | 25 { |
Hans-G?nter@24543 | 26 autoreconf -i && |
Hans-G?nter@22754 | 27 ./configure \ |
Hans-G?nter@22754 | 28 --prefix=/usr \ |
Hans-G?nter@22754 | 29 $CONFIGURE_ARGS && |
pascal@13814 | 30 make |
pascal@13814 | 31 } |
pascal@13814 | 32 |
pascal@13814 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13814 | 34 genpkg_rules() |
pascal@13814 | 35 { |
pascal@13814 | 36 mkdir -p $fs/usr/bin |
Hans-G?nter@22754 | 37 cp -a $src/fdupes $fs/usr/bin |
pascal@13814 | 38 } |