wok view defrag/receipt @ rev 25801

created recipe for xfce4-calculator-plugin
author Hans-G?nter Theisgen
date Sat Nov 02 14:21:07 2024 +0100 (2 weeks 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 }