wok-next view shake/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | 6b3ce25ee0f5 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="shake"
4 VERSION="0.999"
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.bz2"
12 WGET_URL="http://download.savannah.nongnu.org/releases/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="cmake attr attr-dev help2man"
16 compile_rules() {
17 sed -i 's|.*fcntl.*|#include <sys/types.h>\n&|' judge.h
18 cd $src/build
19 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
20 make &&
21 make DESTDIR=$install install
22 }
24 genpkg_rules() {
25 mkdir -p $fs/usr/bin
26 cp -a $install/usr/bin/* $fs/usr/bin
27 DEPENDS="attr"
28 SUGGESTED="defrag"
29 }