wok-current rev 25669

Add rdfind, required for firmware build
author Stanislas Leduc <shann@slitaz.org>
date Sat Mar 02 20:53:40 2024 +0000 (2 months ago)
parents fd2c53302a8e
children 1e5e4f6635ed
files rdfind/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/rdfind/receipt	Sat Mar 02 20:53:40 2024 +0000
     1.3 @@ -0,0 +1,41 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="rdfind"
     1.7 +VERSION="1.6.0"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="Redundant data find - a program that finds duplicate files."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="http://rdfind.pauldreik.se"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="${WEB_SITE}/$TARBALL"
    1.16 +
    1.17 +DEPENDS="nettle"
    1.18 +BUILD_DEPENDS="nettle-dev"
    1.19 +
    1.20 +current_version()
    1.21 +{
    1.22 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.23 +	sed '/^[0-9]/!d;s|&.*||;q'
    1.24 +}
    1.25 +
    1.26 +# Rules to configure and make the package.
    1.27 +compile_rules()
    1.28 +{
    1.29 +	./configure			\
    1.30 +		--prefix=/usr		\
    1.31 +		--sysconfdir=/etc	\
    1.32 +		--localstatedir=/var	\
    1.33 +		$CONFIGURE_ARGS		\
    1.34 +		$ARCH_ARGS &&
    1.35 +	make &&
    1.36 +	make install
    1.37 +}
    1.38 +
    1.39 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 +genpkg_rules()
    1.41 +{
    1.42 +	mkdir -p $fs/usr
    1.43 +	cp -a $install/usr/bin	$fs/usr
    1.44 +}