wok-next diff shake/receipt @ rev 21143
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 25 15:37:19 2019 +0200 (2019-01-25) |
parents | 6b3ce25ee0f5 |
children |
line diff
1.1 --- a/shake/receipt Fri Oct 13 18:15:08 2017 +0200 1.2 +++ b/shake/receipt Fri Jan 25 15:37:19 2019 +0200 1.3 @@ -3,30 +3,27 @@ 1.4 PACKAGE="shake" 1.5 VERSION="0.999" 1.6 CATEGORY="misc" 1.7 -SHORT_DESC="A defragmentation tool." 1.8 +SHORT_DESC="A defragmentation tool" 1.9 MAINTAINER="pascal.bellard@slitaz.org" 1.10 LICENSE="GPL3" 1.11 +WEB_SITE="http://vleu.net/shake/" 1.12 + 1.13 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 -WEB_SITE="http://vleu.net/shake/" 1.15 WGET_URL="http://download.savannah.nongnu.org/releases/$PACKAGE/$TARBALL" 1.16 -SUGGESTED="defrag" 1.17 1.18 BUILD_DEPENDS="cmake attr attr-dev help2man" 1.19 -DEPENDS="attr" 1.20 1.21 -# Rules to configure and make the package. 1.22 -compile_rules() 1.23 -{ 1.24 +compile_rules() { 1.25 sed -i 's|.*fcntl.*|#include <sys/types.h>\n&|' judge.h 1.26 cd $src/build 1.27 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && 1.28 make && 1.29 - make DESTDIR=$DESTDIR install 1.30 + make DESTDIR=$install install 1.31 } 1.32 1.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 -genpkg_rules() 1.35 -{ 1.36 +genpkg_rules() { 1.37 mkdir -p $fs/usr/bin 1.38 cp -a $install/usr/bin/* $fs/usr/bin 1.39 + DEPENDS="attr" 1.40 + SUGGESTED="defrag" 1.41 }