wok view ufiformat/receipt @ rev 25258
qt5: modified WGET_URL
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 07:00:31 2022 +0100 (2022-07-15) |
parents | fe803e849a79 |
children | df63c4ce07f8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ufiformat"
4 VERSION="0.9.9"
5 CATEGORY="system-tools"
6 SHORT_DESC="Low level (physical) formatting tool on USB-FDD."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/tedigh/ufiformat/"
11 WGET_URL="http://www.geocities.jp/tedi_world/$TARBALL"
12 TAGS="floppy formatter"
14 DEPENDS="e2fsprogs"
15 BUILD_DEPENDS="e2fsprogs-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WEB_SITE}tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 ./configure $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 }