wok-current annotate ddrescue/receipt @ rev 24669
updated inxi (3.0.37 -> 3.3.13)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 16:49:52 2022 +0100 (2022-03-11) |
parents | 17091bc7c301 |
children |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="ddrescue" |
Hans-G?nter@24473 | 4 VERSION="1.26" |
erjo@621 | 5 CATEGORY="system-tools" |
Hans-G?nter@22637 | 6 TAGS="recovery toolkit tools" |
erjo@621 | 7 SHORT_DESC="Data recovery tool." |
erjo@784 | 8 MAINTAINER="erjo@slitaz.org" |
pascal@15579 | 9 LICENSE="GPL3" |
Hans-G?nter@22637 | 10 WEB_SITE="https://www.gnu.org/software/ddrescue/" |
Hans-G?nter@22637 | 11 |
Hans-G?nter@22637 | 12 TARBALL="$PACKAGE-$VERSION.tar.lz" |
Hans-G?nter@24473 | 13 WGET_URL="http://ftp.gnu.org/gnu/$PACKAGE/$TARBALL" |
erjo@621 | 14 |
pascal@15579 | 15 DEPENDS="gcc-lib-base" |
Hans-G?nter@22637 | 16 BUILD_DEPENDS="lzip" |
erjo@2958 | 17 |
pascal@24415 | 18 # What is the latest version available today? |
pascal@24415 | 19 current_version() |
pascal@24415 | 20 { |
pascal@24415 | 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24415 | 22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q |
pascal@24415 | 23 } |
pascal@24415 | 24 |
erjo@621 | 25 # Rules to configure and make the package. |
erjo@621 | 26 compile_rules() |
erjo@621 | 27 { |
Hans-G?nter@22637 | 28 ./configure \ |
Hans-G?nter@22637 | 29 --prefix=/usr \ |
Hans-G?nter@22637 | 30 --infodir=/usr/share/info \ |
Hans-G?nter@22637 | 31 --mandir=/usr/share/man \ |
Hans-G?nter@22637 | 32 $CONFIGURE_ARGS && |
pascal@5000 | 33 make && |
Hans-G?nter@24473 | 34 make install DESTDIR=$DESTDIR |
erjo@621 | 35 } |
erjo@621 | 36 |
erjo@621 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@621 | 38 genpkg_rules() |
erjo@621 | 39 { |
Hans-G?nter@24473 | 40 cook_copy_folders bin |
erjo@621 | 41 } |