wok annotate yaffs2utils/receipt @ rev 16975
Add yaffs2utils
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 06 08:25:30 2014 +0200 (2014-08-06) |
parents | |
children | 8dd8bab3f0ca |
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@16975 | 10 WEB_SITE="http://code.google.com/p/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 } |