wok annotate defrag/receipt @ rev 24303
linux64-aufs: fix git branch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 15 16:48:52 2022 +0000 (2022-01-15) |
parents | 5b16e60b3d24 |
children | 7582bdc812ce |
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" |
pascal@20671 | 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 |
pascal@18931 | 19 [ -s "$SOURCES_REPOSITORY/$PACKAGE" ] || |
pascal@18931 | 20 wget -P $SOURCES_REPOSITORY $URL |
pascal@18931 | 21 cp $SOURCES_REPOSITORY/$PACKAGE $fs/usr/bin |
pascal@13303 | 22 } |