wok view defrag/receipt @ rev 18931
defrag, gcc+gcj, iptables-template, raine: use EXTRA_SOURCE_FILES to track the sources files
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 26 18:25:53 2016 +0100 (2016-02-26) |
parents | 3ccc69bd69ec |
children | 6e8b1bcb30e2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="defrag"
4 VERSION="0.08"
5 CATEGORY="misc"
6 SHORT_DESC="A defragmentation script."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="unknown"
9 WEB_SITE="http://ck.kolivas.org/apps/defrag/README"
10 URL="$(dirname $WEB_SITE)/$PACKAGE-$VERSION/$PACKAGE"
11 EXTRA_SOURCE_FILES="$PACKAGE"
12 SUGGESTED="shake"
13 DEPENDS="bash"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/bin
19 [ -s "$SOURCES_REPOSITORY/$PACKAGE" ] ||
20 wget -P $SOURCES_REPOSITORY $URL
21 cp $SOURCES_REPOSITORY/$PACKAGE $fs/usr/bin
22 }