SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "defragfs"

# SliTaz package receipt.

PACKAGE="defragfs"
VERSION="1.1.1"
CATEGORY="misc"
SHORT_DESC="Measurement and Report and Defrag fs/file fragmentation."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL3"
TARBALL="$PACKAGE-$VERSION.gz"
WEB_SITE="https://defragfs.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="perl"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/defragfs/files/defragfs/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/defragfs-.*/defragfs-||;s|.gz.*||;q'
}

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