wok-next annotate shake/receipt @ rev 20458
Unlock x86_64 architecture
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 12:12:14 2018 +0200 (2018-03-02) |
parents | 2b9f96603415 |
children | d5aab818505e |
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@19916 | 20 sed -i 's|.*fcntl.*|#include <sys/types.h>\n&|' judge.h |
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 } |