wok-6.x annotate defrag/receipt @ rev 25442

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 16:30:36 2022 +0000 (2022-09-02)
parents 5b16e60b3d24
children
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 }