wok-6.x view ufiformat/receipt @ rev 24759
pkg-config: use autoconf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 18 08:01:47 2022 +0000 (2022-03-18) |
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 }