wok-next view shake/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
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 }