wok-next diff yaffs2utils/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 8e1b2a143eb3
children 69bb65a67c90
line diff
     1.1 --- a/yaffs2utils/receipt	Sat Sep 01 16:21:51 2018 +0300
     1.2 +++ b/yaffs2utils/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,28 +1,23 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="yaffs2utils"
     1.8  VERSION="0.2.9"
     1.9  CATEGORY="base-system"
    1.10 -SHORT_DESC="Make/extract a YAFFS2/YAFFS1 image for Linux."
    1.11 +SHORT_DESC="Make/extract a YAFFS2/YAFFS1 image for Linux"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://code.google.com/archive/p/yaffs2utils/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="https://code.google.com/archive/p/yaffs2utils/"
    1.18  WGET_URL="http://yaffs2utils.googlecode.com/files/$VERSION.tar.gz"
    1.19  
    1.20 -DEPENDS=""
    1.21 -BUILD_DEPENDS=""
    1.22 +compile_rules() {
    1.23 +	mkdir -p $install/usr/sbin
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 -	mkdir -p $DESTDIR/usr/sbin
    1.29  	make &&
    1.30 -	cp mkyaffs2 unyaffs2 unspare2 $DESTDIR/usr/sbin
    1.31 +	cp mkyaffs2 unyaffs2 unspare2 $install/usr/sbin
    1.32  }
    1.33  
    1.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 -genpkg_rules()
    1.36 -{
    1.37 +genpkg_rules() {
    1.38  	cp -a $install/* $fs/
    1.39  }