wok annotate clonezilla/receipt @ rev 24666
created recipes for double-conversion and double-conversion-dev
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 15:40:49 2022 +0100 (2022-03-11) |
parents | 69e5a0d321dd |
children | 1be16cc1cd50 |
rev | line source |
---|---|
shann@14579 | 1 # SliTaz package receipt. |
shann@14579 | 2 |
shann@14579 | 3 PACKAGE="clonezilla" |
Hans-G?nter@20799 | 4 VERSION="3.27.16" |
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" |
pascal@15202 | 8 LICENSE="GPL2" |
shann@14579 | 9 WEB_SITE="http://clonezilla.org" |
Hans-G?nter@20799 | 10 |
Hans-G?nter@20799 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
shann@14579 | 12 WGET_URL="http://free.nchc.org.tw/drbl-core/src/stable/$TARBALL" |
shann@14579 | 13 |
pascal@17482 | 14 DEPENDS="bash drbl partclone ntfsprogs ntfs-3g partimage sshfs-fuse \ |
pascal@17482 | 15 coreutils-disk coreutils-redirection util-linux-setterm parted" |
shann@14579 | 16 BUILD_DEPENDS="" |
shann@14579 | 17 |
pascal@24436 | 18 # What is the latest version available today? |
pascal@24436 | 19 current_version() |
pascal@24436 | 20 { |
pascal@24436 | 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24436 | 22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24436 | 23 } |
pascal@24436 | 24 |
shann@14579 | 25 # Rules to configure and make the package. |
shann@14579 | 26 compile_rules() |
shann@14579 | 27 { |
shann@14579 | 28 sed -i "s/SHELL/#SHELL/" Makefile |
Hans-G?nter@20799 | 29 |
pascal@14586 | 30 make DESTDIR=$DESTDIR install |
shann@14579 | 31 } |
shann@14579 | 32 |
shann@14579 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
shann@14579 | 34 genpkg_rules() |
shann@14579 | 35 { |
pascal@14586 | 36 mkdir -p $fs/usr |
pascal@14586 | 37 cp -a $install/etc $fs/ |
pascal@14586 | 38 cp -a $install/usr/bin $fs/usr |
pascal@14586 | 39 cp -a $install/usr/sbin $fs/usr |
pascal@14586 | 40 cp -a $install/usr/share $fs/usr |
shann@14579 | 41 } |