wok-next annotate defrag/receipt @ rev 18968
Up slitaz-configs(274), tazpkg(899); fix deps in libnotify-dev
Change post_install messaging in bash, dropbear
Change post_install messaging in bash, dropbear
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 11 15:31:29 2016 +0200 (2016-03-11) |
parents | 3ccc69bd69ec |
children | d43bf7aae921 |
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 } |