SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ufiformat"

# SliTaz package receipt.

PACKAGE="ufiformat"
VERSION="0.9.9"
CATEGORY="system-tools"
SHORT_DESC="Low level (physical) formatting tool on USB-FDD."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://github.com/tedigh/ufiformat/"
WGET_URL="https://github.com/tedigh/ufiformat/archive/refs/tags/v$VERSION.tar.gz"
TAGS="floppy formatter"

DEPENDS="e2fsprogs"
BUILD_DEPENDS="e2fsprogs-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WEB_SITE}tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{    
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)