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