wok view shake/receipt @ rev 22053
minitest: post-install(): fix "sed: unmatched '|'" error
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 22 19:46:38 2019 +0200 (2019-10-22) |
parents | 2b9f96603415 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="shake"
4 VERSION="1.0"
5 CATEGORY="misc"
6 SHORT_DESC="A defragmentation tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://vleu.net/shake/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/unbrice/$PACKAGE/archive/v$VERSION.tar.gz"
14 SUGGESTED="defrag"
15 DEPENDS="attr"
16 BUILD_DEPENDS="attr attr-dev cmake help2man"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src/build
22 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $install/usr/bin/* $fs/usr/bin
32 }