wok-current annotate shake/receipt @ rev 20253
mixxx: force 32 bits arch (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 22:07:54 2018 +0100 (2018-03-12) |
parents | 7c80dceca214 |
children | e11cda27276f |
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@14999 | 8 LICENSE="GPL3" |
pascal@13303 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13303 | 10 WEB_SITE="http://vleu.net/shake/" |
pascal@13303 | 11 WGET_URL="http://download.savannah.nongnu.org/releases/$PACKAGE/$TARBALL" |
pascal@13303 | 12 SUGGESTED="defrag" |
pascal@13303 | 13 |
pascal@13303 | 14 BUILD_DEPENDS="cmake attr attr-dev help2man" |
pascal@13303 | 15 DEPENDS="attr" |
pascal@13303 | 16 |
pascal@13303 | 17 # Rules to configure and make the package. |
pascal@13303 | 18 compile_rules() |
pascal@13303 | 19 { |
pascal@13303 | 20 cd $src/build |
pascal@13303 | 21 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
pascal@13303 | 22 make && |
pascal@13303 | 23 make DESTDIR=$DESTDIR install |
pascal@13303 | 24 } |
pascal@13303 | 25 |
pascal@13303 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13303 | 27 genpkg_rules() |
pascal@13303 | 28 { |
pascal@13303 | 29 mkdir -p $fs/usr/bin |
pascal@13303 | 30 cp -a $install/usr/bin/* $fs/usr/bin |
pascal@13303 | 31 } |