wok annotate hfsprescue/receipt @ rev 24481
reverted firefox-official-it to 77.0
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 18 14:13:16 2022 +0100 (2022-02-18) |
parents | 3fbb6cb5f957 |
children | 0ba7891c7043 |
rev | line source |
---|---|
pascal@16073 | 1 # SliTaz package receipt. |
pascal@16073 | 2 |
pascal@16073 | 3 PACKAGE="hfsprescue" |
pascal@21860 | 4 VERSION="3.4" |
pascal@16073 | 5 CATEGORY="base-system" |
pascal@16073 | 6 SHORT_DESC="HFS+ recovery tool." |
pascal@16073 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16073 | 8 LICENSE="GPL2" |
pascal@16073 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16073 | 10 WEB_SITE="http://www.plop.at/en/hfsprescue.html" |
pascal@18228 | 11 WGET_URL="http://download.plop.at/$PACKAGE/$TARBALL" |
pascal@16073 | 12 |
pascal@21862 | 13 DEPENDS="gcc-lib-base libcrypto zlib" |
pascal@21862 | 14 BUILD_DEPENDS="openssl-dev" |
pascal@16073 | 15 |
pascal@24445 | 16 # What is the latest version available today? |
pascal@24445 | 17 current_version() |
pascal@24445 | 18 { |
pascal@24445 | 19 wget -O - https://www.plop.at/en/hfsprescue/download.html 2>/dev/null | \ |
pascal@24445 | 20 sed '/hfsprescue-[0-9]/!d;/tar/!d;/precompiled/d;s|.*hfsprescue-||;s|.tar.*||;q' |
pascal@24445 | 21 } |
pascal@24445 | 22 |
pascal@16073 | 23 # Rules to configure and make the package. |
pascal@16073 | 24 compile_rules() |
pascal@16073 | 25 { |
pascal@16073 | 26 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@16073 | 27 --mandir=/usr/share/man \ |
pascal@16073 | 28 $CONFIGURE_ARGS && |
pascal@16073 | 29 make && |
pascal@16073 | 30 make DESTDIR=$DESTDIR install |
pascal@16073 | 31 } |
pascal@16073 | 32 |
pascal@16073 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16073 | 34 genpkg_rules() |
pascal@16073 | 35 { |
pascal@16073 | 36 mkdir -p $fs/usr |
pascal@16073 | 37 cp -a $install/usr/bin $fs/usr |
pascal@16073 | 38 } |