wok-current view rdfind/receipt @ rev 25669

Add rdfind, required for firmware build
author Stanislas Leduc <shann@slitaz.org>
date Sat Mar 02 20:53:40 2024 +0000 (9 months ago)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="rdfind"
4 VERSION="1.6.0"
5 CATEGORY="utilities"
6 SHORT_DESC="Redundant data find - a program that finds duplicate files."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://rdfind.pauldreik.se"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}/$TARBALL"
14 DEPENDS="nettle"
15 BUILD_DEPENDS="nettle-dev"
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/^[0-9]/!d;s|&.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 --sysconfdir=/etc \
29 --localstatedir=/var \
30 $CONFIGURE_ARGS \
31 $ARCH_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 }