wok view clonezilla/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 1be16cc1cd50 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="clonezilla"
4 VERSION="3.27.16"
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"
14 DEPENDS="bash drbl partclone ntfsprogs ntfs-3g partimage sshfs-fuse \
15 coreutils-disk coreutils-redirection util-linux-setterm parted"
16 BUILD_DEPENDS=""
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i "s/SHELL/#SHELL/" Makefile
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/etc $fs/
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/sbin $fs/usr
40 cp -a $install/usr/share $fs/usr
41 }