wok view partclone/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 6e8b1bcb30e2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="partclone"
4 VERSION="0.2.70"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utilities to smartly backup partitions."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://partclone.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="backup"
14 DEPENDS="ncursesw ntfs-3g e2fsprogs"
15 BUILD_DEPENDS="util-linux-blkid-dev util-linux-uuid-dev libxslt e2fsprogs-dev \
16 ncursesw-dev ntfsprogs-dev ntfs-3g-dev docbook-xsl"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/partclone/files/source/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/partclone-||;s|.tar.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure LDFLAGS="$LDFLAGS -lcom_err" $CONFIGURE_ARGS \
29 --enable-extfs \
30 --enable-fat \
31 --enable-exfat \
32 --enable-ntfs \
33 --enable-btrfs \
34 --enable-hfsp \
35 --enable-ncursesw &&
36 make && make install 2>&1 | sed "s/8': No such/8': no such/"
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share/local
43 cp -a $install/usr/sbin* $fs/usr
44 }