wok view defrag/receipt @ rev 25784

Qt5-dev: add cmake files
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 24 14:47:04 2024 +0000 (3 months ago)
parents 6e8b1bcb30e2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="defrag"
4 VERSION="0.08"
5 CATEGORY="misc"
6 SHORT_DESC="A defragmentation script."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="unknown"
9 WEB_SITE="http://ck.kolivas.org/apps/defrag/"
10 URL="$(dirname $WEB_SITE)/$PACKAGE-$VERSION/$PACKAGE"
11 EXTRA_SOURCE_FILES="$PACKAGE"
12 SUGGESTED="shake"
13 DEPENDS="bash"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - $WEB_SITE 2>/dev/null | \
19 sed '/defrag-/!d;s|.*defrag-||;s|/.*||' | tac | sed q
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin
26 [ -s "$SOURCES_REPOSITORY/$PACKAGE" ] ||
27 wget -P $SOURCES_REPOSITORY $URL
28 cp $SOURCES_REPOSITORY/$PACKAGE $fs/usr/bin
29 }