wok annotate clonezilla/receipt @ rev 14579

Add Clonezilla
author Stanislas Leduc <shann@slitaz.org>
date Sat May 25 20:30:28 2013 +0200 (2013-05-25)
parents
children 955aa9bb627d
rev   line source
shann@14579 1 # SliTaz package receipt.
shann@14579 2
shann@14579 3 PACKAGE="clonezilla"
shann@14579 4 VERSION="3.3.10"
shann@14579 5 CATEGORY="misc"
shann@14579 6 SHORT_DESC="The Free and Open Source Software for Disk Imaging and Cloning"
shann@14579 7 MAINTAINER="shann@slitaz.org"
shann@14579 8 WEB_SITE="http://clonezilla.org"
shann@14579 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
shann@14579 10 WGET_URL="http://free.nchc.org.tw/drbl-core/src/stable/$TARBALL"
shann@14579 11
shann@14579 12 DEPENDS="bash drbl partclone ntfsprofs partimage pigz sshfs-fuse"
shann@14579 13 BUILD_DEPENDS=""
shann@14579 14
shann@14579 15 # Rules to configure and make the package.
shann@14579 16 compile_rules()
shann@14579 17 {
shann@14579 18 cd $src
shann@14579 19 sed -i "s/SHELL/#SHELL/" Makefile
shann@14579 20 make DESTDIR=$PWD/_pkg install
shann@14579 21 }
shann@14579 22
shann@14579 23 # Rules to gen a SliTaz package suitable for Tazpkg.
shann@14579 24 genpkg_rules()
shann@14579 25 {
shann@14579 26 cp -a $_pkg/etc $fs/
shann@14579 27 cp -a $_pkg/usr/bin $fs/usr
shann@14579 28 cp -a $_pkg/usr/sbin $fs/usr
shann@14579 29 cp -a $_pkgs/usr/share $fs/usr
shann@14579 30 }