# HG changeset patch # User Stanislas Leduc # Date 1709412820 0 # Node ID 9a6fd77a6ed59eb2ab998694d234d20263f41d9f # Parent fd2c53302a8e3c3d9884ba1f06ee33855bd04f8a Add rdfind, required for firmware build diff -r fd2c53302a8e -r 9a6fd77a6ed5 rdfind/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rdfind/receipt Sat Mar 02 20:53:40 2024 +0000 @@ -0,0 +1,41 @@ +# SliTaz package receipt. + +PACKAGE="rdfind" +VERSION="1.6.0" +CATEGORY="utilities" +SHORT_DESC="Redundant data find - a program that finds duplicate files." +MAINTAINER="maintainer@slitaz.org" +LICENSE="GPL2" +WEB_SITE="http://rdfind.pauldreik.se" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="${WEB_SITE}/$TARBALL" + +DEPENDS="nettle" +BUILD_DEPENDS="nettle-dev" + +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/^[0-9]/!d;s|&.*||;q' +} + +# Rules to configure and make the package. +compile_rules() +{ + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + $CONFIGURE_ARGS \ + $ARCH_ARGS && + make && + make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr +}