SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "disktype"

# SliTaz package receipt.

PACKAGE="disktype"
VERSION="9"
CATEGORY="system-tools"
SHORT_DESC="Detects the content format of a disk or disk image (file systems, partition tables, and boot codes)"
MAINTAINER="db_slitaz@m4x.org"
LICENSE="MIT"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://disktype.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS=""

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

# Rules to configure and make the package.
compile_rules()
{
    make
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin
    cp -a $src/disktype $fs/usr/bin
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)