SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "yaffs2utils"

# SliTaz package receipt.

PACKAGE="yaffs2utils"
VERSION="0.2.9"
CATEGORY="base-system"
SHORT_DESC="Make/extract a YAFFS2/YAFFS1 image for Linux."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://github.com/justsoso8/yaffs2utils"
WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$VERSION.tar.gz"

DEPENDS=""
BUILD_DEPENDS=""

# What is the latest version available today?
current_version()
{
    wget -O - https://raw.githubusercontent.com/justsoso8/yaffs2utils/master/CHANGES 2>/dev/null | \
    sed '/^Version /!d;s|.*ersion ||' | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    mkdir -p $DESTDIR/usr/sbin
    make &&
    cp mkyaffs2 unyaffs2 unspare2 $DESTDIR/usr/sbin
}

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