wok-next view shake/receipt @ rev 19926

libftdi: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 14 23:39:37 2017 +0200 (2017-10-14)
parents 2b9f96603415
children d5aab818505e
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://vleu.net/shake/"
11 WGET_URL="http://download.savannah.nongnu.org/releases/$PACKAGE/$TARBALL"
12 SUGGESTED="defrag"
14 BUILD_DEPENDS="cmake attr attr-dev help2man"
15 DEPENDS="attr"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|.*fcntl.*|#include <sys/types.h>\n&|' judge.h
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 }