wok view dd_rescue/receipt @ rev 24992

Up sip (4.19.25)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 14 18:19:29 2022 +0000 (2022-05-14)
parents bfabe25c21ff
children
line source
1 # SliTaz package receipt.
3 PACKAGE="dd_rescue"
4 VERSION="1.99.11"
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/"
10 REPOLOGY="dd-rescue"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://www.garloff.de/kurt/linux/ddrescue/$TARBALL"
15 DEPENDS="openssl"
16 BUILD_DEPENDS="autoconf automake openssl-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./autogen.sh &&
29 make prefix=/usr &&
30 make install prefix=/usr
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 cp -a $src/dd_rescue $fs/usr/bin
38 }