wok-6.x view fstransform/receipt @ rev 24320
Add xsuspend (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 25 18:01:09 2022 +0000 (2022-01-25) |
parents | f96e26cdfd7a |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="fstransform"
4 VERSION="0.9.3.patch1"
5 CATEGORY="base-system"
6 SHORT_DESC="In-place filesystem conversion (for example from jfs/xfs/reiser to ext2/ext3/ext4) without backup"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/cosmos72/fstransform"
11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
12 TAGS="filesystem"
14 SUGGESTED="jfsutils xfsprogs reiserfsprogs reiser4progs e2fsprogs"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure --prefix=/usr \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $install/usr/sbin $fs/usr
36 cp -a $src/doc $src/README $fs/usr/share
37 }