wok annotate fdupes/receipt @ rev 23515
busybox: musl & diet may fail (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 06 12:11:08 2020 +0200 (2020-04-06) |
parents | e7058f1b18c6 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@13814 | 1 # SliTaz package receipt. |
pascal@13814 | 2 |
pascal@13814 | 3 PACKAGE="fdupes" |
Hans-G?nter@22754 | 4 VERSION="2.0.0" |
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@22754 | 12 WGET_URL="https://github.com/adrianlopezroche/$PACKAGE/releases/download/$VERSION/$TARBALL" |
pascal@13814 | 13 |
Hans-G?nter@22754 | 14 DEPENDS="ncurses pcre2" |
Hans-G?nter@22754 | 15 BUILD_DEPENDS="ncurses-dev pcre2-dev" |
pascal@13814 | 16 |
pascal@13814 | 17 # Rules to configure and make the package. |
pascal@13814 | 18 compile_rules() |
pascal@13814 | 19 { |
Hans-G?nter@22754 | 20 ./configure \ |
Hans-G?nter@22754 | 21 --prefix=/usr \ |
Hans-G?nter@22754 | 22 $CONFIGURE_ARGS && |
pascal@13814 | 23 make |
pascal@13814 | 24 } |
pascal@13814 | 25 |
pascal@13814 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13814 | 27 genpkg_rules() |
pascal@13814 | 28 { |
pascal@13814 | 29 mkdir -p $fs/usr/bin |
Hans-G?nter@22754 | 30 cp -a $src/fdupes $fs/usr/bin |
pascal@13814 | 31 } |