wok-6.x annotate yaffs2utils/receipt @ rev 24533
updated f3 (7.2 -> 8.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 11:14:10 2022 +0100 (2022-02-23) |
parents | 3232bb723678 |
children | 0f92b8cc8086 |
rev | line source |
---|---|
pascal@16975 | 1 # SliTaz package receipt. |
pascal@16975 | 2 |
pascal@16975 | 3 PACKAGE="yaffs2utils" |
pascal@16975 | 4 VERSION="0.2.9" |
pascal@16975 | 5 CATEGORY="base-system" |
pascal@16975 | 6 SHORT_DESC="Make/extract a YAFFS2/YAFFS1 image for Linux." |
pascal@16975 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16975 | 8 LICENSE="GPL2" |
pascal@16975 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20688 | 10 WEB_SITE="https://github.com/justsoso8/yaffs2utils" |
pascal@16975 | 11 WGET_URL="http://yaffs2utils.googlecode.com/files/$VERSION.tar.gz" |
pascal@16975 | 12 |
pascal@16975 | 13 DEPENDS="" |
pascal@16975 | 14 BUILD_DEPENDS="" |
pascal@16975 | 15 |
pascal@24497 | 16 # What is the latest version available today? |
pascal@24497 | 17 current_version() |
pascal@24497 | 18 { |
pascal@24497 | 19 wget -O - https://raw.githubusercontent.com/justsoso8/yaffs2utils/master/CHANGES 2>/dev/null | \ |
pascal@24497 | 20 sed '/^Version /!d;s|.*ersion ||' | sort -Vr | sed q |
pascal@24497 | 21 } |
pascal@24497 | 22 |
pascal@16975 | 23 # Rules to configure and make the package. |
pascal@16975 | 24 compile_rules() |
pascal@16975 | 25 { |
pascal@16975 | 26 mkdir -p $DESTDIR/usr/sbin |
pascal@16975 | 27 make && |
pascal@16975 | 28 cp mkyaffs2 unyaffs2 unspare2 $DESTDIR/usr/sbin |
pascal@16975 | 29 } |
pascal@16975 | 30 |
pascal@16975 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16975 | 32 genpkg_rules() |
pascal@16975 | 33 { |
pascal@16975 | 34 cp -a $install/* $fs/ |
pascal@16975 | 35 } |