wok-6.x view hfsprescue/receipt @ rev 24990

idesk: imlib2 >= 1.7.5 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 13 20:03:04 2022 +0000 (2022-05-13)
parents af8d823a3077
children
line source
1 # SliTaz package receipt.
3 PACKAGE="hfsprescue"
4 VERSION="3.5"
5 CATEGORY="base-system"
6 SHORT_DESC="HFS+ recovery tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.plop.at/en/hfsprescue.html"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://download.plop.at/$PACKAGE/$TARBALL"
13 DEPENDS="libcrypto zlib"
14 BUILD_DEPENDS="openssl-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://www.plop.at/en/hfsprescue/download.html 2>/dev/null | \
20 sed '/hfsprescue-[0-9]/!d;/tar/!d;/precompiled/d;s|.*hfsprescue-||;s|.tar.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders bin
39 }