wok view clonezilla/receipt @ rev 25824

Update clonezilla deps, required split from coreutils
author Stanislas Leduc <shann@slitaz.org>
date Tue Mar 04 17:16:21 2025 +0100 (3 months ago)
parents 69e2d2939776
children
line source
1 # SliTaz package receipt.
3 PACKAGE="clonezilla"
4 VERSION="5.6.13"
5 CATEGORY="misc"
6 SHORT_DESC="The Free and Open Source Software for Disk Imaging and Cloning"
7 MAINTAINER="shann@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://clonezilla.org"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 #WGET_URL="https://free.nchc.org.tw/drbl-core/old/src/$TARBALL"
13 WGET_URL="https://free.nchc.org.tw/drbl-core/src/stable/$TARBALL"
15 DEPENDS="bash drbl partclone ntfsprogs ntfs-3g partimage sshfs-fuse \
16 dosfstools coreutils-command coreutils-context-system coreutils-disk \
17 coreutils-redirection coreutils-file-output-part screen gptfdisk \
18 util-linux-sfdisk util-linux-setterm parted"
19 BUILD_DEPENDS=""
21 HOST_ARCH="i486 x86_64"
23 # What is the latest version available today?
24 current_version()
25 {
26 wget -O - ${WGET_URL%/*} 2>/dev/null | \
27 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 sed -i "s/SHELL/#SHELL/" Makefile
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/etc $fs/
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/sbin $fs/usr
45 cp -a $install/usr/share $fs/usr
46 }