wok-next diff clonezilla/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 9689f1b75619
children d5aab818505e
line diff
     1.1 --- a/clonezilla/receipt	Tue Dec 30 10:01:09 2014 +0100
     1.2 +++ b/clonezilla/receipt	Tue Oct 16 16:46:05 2018 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="clonezilla"
     1.8  VERSION="3.3.10"
     1.9 @@ -6,28 +6,23 @@
    1.10  SHORT_DESC="The Free and Open Source Software for Disk Imaging and Cloning"
    1.11  MAINTAINER="shann@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -WEB_SITE="http://clonezilla.org"
    1.14 +WEB_SITE="http://clonezilla.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17  WGET_URL="http://free.nchc.org.tw/drbl-core/src/stable/$TARBALL"
    1.18  
    1.19 -DEPENDS="bash drbl partclone ntfsprogs ntfs-3g partimage sshfs-fuse \
    1.20 -coreutils-disk coreutils-redirection util-linux-setterm parted"
    1.21 -BUILD_DEPENDS=""
    1.22 +compile_rules() {
    1.23 +	sed -i "s/SHELL/#SHELL/" Makefile
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 -	cd $src
    1.29 -	sed -i "s/SHELL/#SHELL/" Makefile
    1.30  	make DESTDIR=$DESTDIR install
    1.31  }
    1.32  
    1.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 -genpkg_rules()
    1.35 -{
    1.36 +genpkg_rules() {
    1.37  	mkdir -p $fs/usr
    1.38  	cp -a $install/etc $fs/
    1.39  	cp -a $install/usr/bin $fs/usr
    1.40  	cp -a $install/usr/sbin $fs/usr
    1.41  	cp -a $install/usr/share $fs/usr
    1.42 +	DEPENDS="bash drbl partclone ntfsprogs ntfs-3g partimage sshfs-fuse \
    1.43 +	coreutils-disk coreutils-redirection util-linux-setterm parted"
    1.44  }