wok view dd_rescue/receipt @ rev 24471

updated dcfldd (1.3.4-1 -> 1.7.1)
author Hans-G?nter Theisgen
date Thu Feb 17 15:14:14 2022 +0100 (2022-02-17)
parents ce01bc78a7aa
children 5dbf835a322f
line source
1 # SliTaz package receipt.
3 PACKAGE="dd_rescue"
4 VERSION="1.99.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="Block device copy tools."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.garloff.de/kurt/linux/ddrescue/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://www.garloff.de/kurt/linux/ddrescue/$TARBALL"
14 DEPENDS="openssl"
15 BUILD_DEPENDS="autoconf automake openssl-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./autogen.sh &&
28 make prefix=/usr &&
29 make install prefix=/usr
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 cp -a $src/dd_rescue $fs/usr/bin
37 }