wok-current annotate shake/receipt @ rev 22913
lingnutls: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 24 11:32:12 2020 +0100 (2020-02-24) |
parents | 2b9f96603415 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@13303 | 1 # SliTaz package receipt. |
pascal@13303 | 2 |
pascal@13303 | 3 PACKAGE="shake" |
Hans-G?nter@21905 | 4 VERSION="1.0" |
pascal@13303 | 5 CATEGORY="misc" |
pascal@13303 | 6 SHORT_DESC="A defragmentation tool." |
pascal@13303 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
pascal@13303 | 9 WEB_SITE="http://vleu.net/shake/" |
Hans-G?nter@21905 | 10 |
Hans-G?nter@21905 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21905 | 12 WGET_URL="https://github.com/unbrice/$PACKAGE/archive/v$VERSION.tar.gz" |
Hans-G?nter@21905 | 13 |
pascal@13303 | 14 SUGGESTED="defrag" |
pascal@13303 | 15 DEPENDS="attr" |
Hans-G?nter@21905 | 16 BUILD_DEPENDS="attr attr-dev cmake help2man" |
pascal@13303 | 17 |
pascal@13303 | 18 # Rules to configure and make the package. |
pascal@13303 | 19 compile_rules() |
pascal@13303 | 20 { |
pascal@13303 | 21 cd $src/build |
pascal@13303 | 22 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
pascal@13303 | 23 make && |
pascal@13303 | 24 make DESTDIR=$DESTDIR install |
pascal@13303 | 25 } |
pascal@13303 | 26 |
pascal@13303 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13303 | 28 genpkg_rules() |
pascal@13303 | 29 { |
pascal@13303 | 30 mkdir -p $fs/usr/bin |
pascal@13303 | 31 cp -a $install/usr/bin/* $fs/usr/bin |
pascal@13303 | 32 } |