wok-6.x view hfsutils/receipt @ rev 25024

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 18 20:10:17 2022 +0000 (2022-05-18)
parents af8d823a3077
children
line source
1 # SliTaz package receipt.
3 PACKAGE="hfsutils"
4 VERSION="3.2.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="HFS Filesystem user space tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.mars.org/home/rob/proj/hfs/"
11 WGET_URL="ftp://ftp.mars.org/pub/hfs/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - ${WEB_SITE}version.html 2>/dev/null | \
17 sed '/has been released/!d;s| has.*||;s|^[ \t]*||;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/man/man1
24 sed -i "s|DEST =.|&$DESTDIR|" Makefile.in
25 ./configure --prefix=/usr \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs//usr
35 cp -a $install/usr/bin $fs/usr
36 }