wok annotate defragfs/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 370da83187ab
children 7dd01dedad38
rev   line source
pascal@18145 1 # SliTaz package receipt.
pascal@18145 2
pascal@18145 3 PACKAGE="defragfs"
pascal@18145 4 VERSION="1.1.1"
pascal@18145 5 CATEGORY="misc"
pascal@18145 6 SHORT_DESC="Measurement and Report and Defrag fs/file fragmentation."
pascal@18145 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18145 8 LICENSE="GPL3"
pascal@18145 9 TARBALL="$PACKAGE-$VERSION.gz"
pascal@18145 10 WEB_SITE="http://defragfs.sourceforge.net/"
pascal@24978 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@18145 12
pascal@18145 13 DEPENDS="perl"
pascal@18145 14
pascal@24361 15 # What is the latest version available today?
pascal@24361 16 current_version()
pascal@24361 17 {
pascal@24361 18 wget -O - https://sourceforge.net/projects/defragfs/files/defragfs/ 2>/dev/null | \
pascal@24361 19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24361 20 sed '/scope="row/!d;s|.*/defragfs-.*/defragfs-||;s|.gz.*||;q'
pascal@24361 21 }
pascal@24361 22
pascal@18145 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18145 24 genpkg_rules()
pascal@18145 25 {
pascal@18145 26 mkdir -p $fs/usr/bin
pascal@18145 27 zcat $src/$TARBALL > $fs/usr/bin/defragfs
pascal@18146 28 chmod 755 $fs/usr/bin/defragfs
pascal@18145 29 }