wok-next annotate defrag/receipt @ rev 20943
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Aug 30 10:49:57 2018 +0300 (2018-08-30) |
parents | d43bf7aae921 |
children | d5aab818505e |
rev | line source |
---|---|
pascal@13303 | 1 # SliTaz package receipt. |
pascal@13303 | 2 |
pascal@13303 | 3 PACKAGE="defrag" |
pascal@13303 | 4 VERSION="0.08" |
pascal@13303 | 5 CATEGORY="misc" |
pascal@13303 | 6 SHORT_DESC="A defragmentation script." |
pascal@13303 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16660 | 8 LICENSE="unknown" |
al@20943 | 9 WEB_SITE="http://ck.kolivas.org/apps/defrag/" |
pascal@13303 | 10 URL="$(dirname $WEB_SITE)/$PACKAGE-$VERSION/$PACKAGE" |
pascal@18931 | 11 EXTRA_SOURCE_FILES="$PACKAGE" |
pascal@17487 | 12 SUGGESTED="shake" |
pascal@13303 | 13 DEPENDS="bash" |
pascal@13303 | 14 |
pascal@13303 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13303 | 16 genpkg_rules() |
pascal@13303 | 17 { |
pascal@13303 | 18 mkdir -p $fs/usr/bin |
al@20513 | 19 [ -s "$SRC/$PACKAGE" ] || |
al@20513 | 20 wget -P $SRC $URL |
al@20513 | 21 cp $SRC/$PACKAGE $fs/usr/bin |
pascal@13303 | 22 } |