wok-current annotate defragfs/receipt @ rev 25601
use gcc49-lib-base for openldap-dev
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 12:04:33 2023 +0000 (16 months ago) |
parents | 00e3b45c063b |
children |
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@25460 | 10 WEB_SITE="https://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 } |