wok annotate defrag/receipt @ rev 19621
dhcp: vlan support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 10 16:46:56 2017 +0100 (2017-01-10) |
parents | 3ccc69bd69ec |
children | 6e8b1bcb30e2 |
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@13303 | 9 WEB_SITE="http://ck.kolivas.org/apps/defrag/README" |
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 } |