wok-current annotate safecopy/receipt @ rev 25584
Fix ncursesw build
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu May 25 10:56:33 2023 +0000 (19 months ago) |
parents | e919c5a2742d |
children |
rev | line source |
---|---|
slaxemulator@10252 | 1 # SliTaz package receipt. |
slaxemulator@10252 | 2 |
slaxemulator@10252 | 3 PACKAGE="safecopy" |
pascal@13248 | 4 VERSION="1.7" |
slaxemulator@10252 | 5 CATEGORY="system-tools" |
slaxemulator@10252 | 6 SHORT_DESC="A disk data recovery tool to extract data from damaged media" |
slaxemulator@10252 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15000 | 8 LICENSE="GPL2" |
slaxemulator@10252 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25460 | 10 WEB_SITE="https://safecopy.sourceforge.net/" |
slaxemulator@10252 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@10252 | 12 |
pascal@13248 | 13 DEPENDS="" |
pascal@13248 | 14 BUILD_DEPENDS="" |
pascal@13248 | 15 |
pascal@24348 | 16 # What is the latest version available today? |
pascal@24348 | 17 current_version() |
pascal@24348 | 18 { |
pascal@24348 | 19 wget -O - https://sourceforge.net/projects/safecopy/files/safecopy/ 2>/dev/null | \ |
pascal@24348 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24348 | 21 sed '/scope="row/!d;s|.*/safecopy-||;s|/.*||;q' |
pascal@24348 | 22 } |
pascal@24348 | 23 |
slaxemulator@10252 | 24 # Rules to configure and make the package. |
slaxemulator@10252 | 25 compile_rules() |
slaxemulator@10252 | 26 { |
slaxemulator@10252 | 27 cd $src |
slaxemulator@10252 | 28 ./configure && make && make install |
slaxemulator@10252 | 29 } |
slaxemulator@10252 | 30 |
slaxemulator@10252 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10252 | 32 genpkg_rules() |
slaxemulator@10252 | 33 { |
slaxemulator@10252 | 34 mkdir -p $fs/usr |
pascal@13248 | 35 cp -a $install/usr/bin $fs/usr |
slaxemulator@10252 | 36 } |
slaxemulator@10252 | 37 |