wok annotate shake/receipt @ rev 13808
Up 1.1 & Clean code
author | border |
---|---|
date | Sat Jan 05 17:59:28 2013 -0500 (2013-01-05) |
parents | |
children | 2b9f96603415 |
rev | line source |
---|---|
pascal@13303 | 1 # SliTaz package receipt. |
pascal@13303 | 2 |
pascal@13303 | 3 PACKAGE="shake" |
pascal@13303 | 4 VERSION="0.999" |
pascal@13303 | 5 CATEGORY="misc" |
pascal@13303 | 6 SHORT_DESC="A defragmentation tool." |
pascal@13303 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@13303 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13303 | 9 WEB_SITE="http://vleu.net/shake/" |
pascal@13303 | 10 WGET_URL="http://download.savannah.nongnu.org/releases/$PACKAGE/$TARBALL" |
pascal@13303 | 11 SUGGESTED="defrag" |
pascal@13303 | 12 |
pascal@13303 | 13 BUILD_DEPENDS="cmake attr attr-dev help2man" |
pascal@13303 | 14 DEPENDS="attr" |
pascal@13303 | 15 |
pascal@13303 | 16 # Rules to configure and make the package. |
pascal@13303 | 17 compile_rules() |
pascal@13303 | 18 { |
pascal@13303 | 19 cd $src/build |
pascal@13303 | 20 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
pascal@13303 | 21 make && |
pascal@13303 | 22 make DESTDIR=$DESTDIR install |
pascal@13303 | 23 } |
pascal@13303 | 24 |
pascal@13303 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13303 | 26 genpkg_rules() |
pascal@13303 | 27 { |
pascal@13303 | 28 mkdir -p $fs/usr/bin |
pascal@13303 | 29 cp -a $install/usr/bin/* $fs/usr/bin |
pascal@13303 | 30 } |