wok-current annotate yaffs2utils/receipt @ rev 25474
openjdk-6-src: use find from findutils in place of busybox find
author | Hans-G?nter Theisgen |
---|---|
date | Thu Oct 13 16:42:57 2022 +0100 (2022-10-13) |
parents | 34e801e0eb52 |
children |
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@24982 | 11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$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 } |