wok view yaffs2utils/receipt @ rev 25689
updated mmv (1.01b-18 -> 2.6)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 13 10:48:47 2024 +0100 (7 months ago) |
parents | 34e801e0eb52 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="yaffs2utils"
4 VERSION="0.2.9"
5 CATEGORY="base-system"
6 SHORT_DESC="Make/extract a YAFFS2/YAFFS1 image for Linux."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/justsoso8/yaffs2utils"
11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$VERSION.tar.gz"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://raw.githubusercontent.com/justsoso8/yaffs2utils/master/CHANGES 2>/dev/null | \
20 sed '/^Version /!d;s|.*ersion ||' | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mkdir -p $DESTDIR/usr/sbin
27 make &&
28 cp mkyaffs2 unyaffs2 unspare2 $DESTDIR/usr/sbin
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs/
35 }