wok-next view defragfs/receipt @ rev 20461
Respect "install" phase (src -> install). Cook will fail if install dir empty (and it's by design).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Mar 04 04:56:40 2018 +0200 (2018-03-04) |
parents | 83694a75d225 |
children | d5aab818505e |
line source
1 # SliTaz package receipt.
3 PACKAGE="defragfs"
4 VERSION="1.1.1"
5 CATEGORY="misc"
6 SHORT_DESC="Measurement and Report and Defrag fs/file fragmentation."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.gz"
10 WEB_SITE="http://defragfs.sourceforge.net/"
11 WGET_URL="http://vorboss.dl.sourceforge.net/project/$PACKAGE/$PACKAGE/$PACKAGE-${VERSION%.*}/$TARBALL"
13 DEPENDS="perl"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/bin
19 zcat $src/$TARBALL > $fs/usr/bin/defragfs
20 chmod 755 $fs/usr/bin/defragfs
21 }