wok-current annotate magicrescue/receipt @ rev 24670
updated iperf (3.7 -> 3.11)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 17:07:08 2022 +0100 (2022-03-11) |
parents | 60881e583eec |
children |
rev | line source |
---|---|
slaxemulator@7520 | 1 # SliTaz package receipt. |
slaxemulator@7520 | 2 |
slaxemulator@7520 | 3 PACKAGE="magicrescue" |
Hans-G?nter@21412 | 4 VERSION="1.1.10" |
slaxemulator@7520 | 5 CATEGORY="utilities" |
slaxemulator@7520 | 6 SHORT_DESC="Find and recover deleted files on block devices." |
slaxemulator@7520 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15584 | 8 LICENSE="GPL2" |
Hans-G?nter@21412 | 9 WEB_SITE="https://github.com/jbj/magicrescue/" |
Hans-G?nter@21412 | 10 |
slaxemulator@7520 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21412 | 12 WGET_URL="https://github.com/jbj/$PACKAGE/archive/v$VERSION.tar.gz" |
slaxemulator@7520 | 13 |
pascal@15584 | 14 DEPENDS="perl" |
pascal@15584 | 15 |
pascal@24055 | 16 current_version() |
pascal@24055 | 17 { |
pascal@24055 | 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 20 } |
pascal@24055 | 21 |
slaxemulator@7520 | 22 # Rules to configure and make the package. |
slaxemulator@7520 | 23 compile_rules() |
slaxemulator@7520 | 24 { |
pascal@19291 | 25 sed -i 's|/man/|/share&|' Makefile* |
Hans-G?nter@21412 | 26 |
Hans-G?nter@21412 | 27 ./configure \ |
Hans-G?nter@21412 | 28 --prefix=/usr \ |
slaxemulator@7520 | 29 $CONFIGURE_ARGS && |
Hans-G?nter@21412 | 30 make install |
slaxemulator@7520 | 31 } |
slaxemulator@7520 | 32 |
slaxemulator@7520 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7520 | 34 genpkg_rules() |
slaxemulator@7520 | 35 { |
slaxemulator@7520 | 36 mkdir -p $fs/usr/share |
Hans-G?nter@21412 | 37 |
Hans-G?nter@21412 | 38 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21412 | 39 cp -a $install/usr/share/magicrescue $fs/usr/share |
slaxemulator@7520 | 40 } |