wok annotate clonezilla/receipt @ rev 14586

clonezilla: fix no /usr/bin
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 26 18:51:30 2013 +0200 (2013-05-26)
parents e7715ace8431
children b2a3063d4ef7
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@14584 12 DEPENDS="bash drbl partclone ntfsprogs ntfs-3g partimage 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
pascal@14586 20 make DESTDIR=$DESTDIR 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 {
pascal@14586 26 mkdir -p $fs/usr
pascal@14586 27 cp -a $install/etc $fs/
pascal@14586 28 cp -a $install/usr/bin $fs/usr
pascal@14586 29 cp -a $install/usr/sbin $fs/usr
pascal@14586 30 cp -a $install/usr/share $fs/usr
shann@14579 31 }