wok-current view shake/receipt @ rev 15860

libmowgli: update genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 30 09:02:32 2014 +0000 (2014-01-30)
parents 7c80dceca214
children e11cda27276f
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 cd $src/build
21 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin
30 cp -a $install/usr/bin/* $fs/usr/bin
31 }