wok view ddrescue/receipt @ rev 25157
updated pugixml (1.10 -> 1.12.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 30 16:40:03 2022 +0100 (2022-06-30) |
parents | 17091bc7c301 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ddrescue"
4 VERSION="1.26"
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/$PACKAGE/$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 install DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_folders bin
41 }