wok-6.x annotate fstransform/receipt @ rev 24145

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