wok view defragfs/receipt @ rev 24361

glibmm, glibmm-dev: fix Private:gobj()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 04 09:24:50 2022 +0000 (2022-02-04)
parents 8809751bb68d
children 00e3b45c063b
line source
1 # SliTaz package receipt.
3 PACKAGE="defragfs"
4 VERSION="1.1.1"
5 CATEGORY="misc"
6 SHORT_DESC="Measurement and Report and Defrag fs/file fragmentation."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.gz"
10 WEB_SITE="http://defragfs.sourceforge.net/"
11 WGET_URL="http://vorboss.dl.sourceforge.net/project/$PACKAGE/$PACKAGE/$PACKAGE-${VERSION%.*}/$TARBALL"
13 DEPENDS="perl"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://sourceforge.net/projects/defragfs/files/defragfs/ 2>/dev/null | \
19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
20 sed '/scope="row/!d;s|.*/defragfs-.*/defragfs-||;s|.gz.*||;q'
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 zcat $src/$TARBALL > $fs/usr/bin/defragfs
28 chmod 755 $fs/usr/bin/defragfs
29 }