SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "dosfstools"

# SliTaz package receipt.

PACKAGE="dosfstools"
VERSION="4.2"
CATEGORY="system-tools"
SHORT_DESC="Tools to create and check DOS filesystems."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL3"
WEB_SITE="https://github.com/$PACKAGE/$PACKAGE"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"

HOST_ARCH="i486 arm"

BUILD_DEPENDS="wget"

current_version()
{
    wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
}

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

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    sbin
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)