wok-next view shake/receipt @ rev 14381

re-alpine: build workaround
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 22 22:23:56 2013 +0200 (2013-04-22)
parents
children 2b9f96603415
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://vleu.net/shake/"
10 WGET_URL="http://download.savannah.nongnu.org/releases/$PACKAGE/$TARBALL"
11 SUGGESTED="defrag"
13 BUILD_DEPENDS="cmake attr attr-dev help2man"
14 DEPENDS="attr"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/build
20 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 cp -a $install/usr/bin/* $fs/usr/bin
30 }