wok-current view ufiformat/receipt @ rev 24603

inxi: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 02 09:21:45 2022 +0000 (2022-03-02)
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 }