wok annotate yaffs2utils/receipt @ rev 24133
Up tazinst (115)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 23 15:17:56 2021 +0000 (2021-10-23) |
parents | 8dd8bab3f0ca |
children | 34e801e0eb52 |
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@16975 | 16 # Rules to configure and make the package. |
pascal@16975 | 17 compile_rules() |
pascal@16975 | 18 { |
pascal@16975 | 19 mkdir -p $DESTDIR/usr/sbin |
pascal@16975 | 20 make && |
pascal@16975 | 21 cp mkyaffs2 unyaffs2 unspare2 $DESTDIR/usr/sbin |
pascal@16975 | 22 } |
pascal@16975 | 23 |
pascal@16975 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16975 | 25 genpkg_rules() |
pascal@16975 | 26 { |
pascal@16975 | 27 cp -a $install/* $fs/ |
pascal@16975 | 28 } |