wok-6.x view ddrescue/receipt @ rev 24461
updated daloradius (0.9-9 -> 1.1-2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 16 17:15:55 2022 +0100 (2022-02-16) |
parents | 5604c90d7b2c |
children | 8f910544a91e |
line source
1 # SliTaz package receipt.
3 PACKAGE="ddrescue"
4 VERSION="1.25"
5 CATEGORY="system-tools"
6 TAGS="recovery toolkit tools"
7 SHORT_DESC="Data recovery tool."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://www.gnu.org/software/ddrescue/"
12 TARBALL="$PACKAGE-$VERSION.tar.lz"
13 WGET_URL="http://ftp.gnu.org/gnu/ddrescue/$TARBALL"
15 DEPENDS="gcc-lib-base"
16 BUILD_DEPENDS="lzip"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 }