wok view shake/receipt @ rev 24142

linux-aufs: git checkout problem ?
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 15 08:46:59 2021 +0000 (2021-11-15)
parents e11cda27276f
children ac8ca9758df1
line source
1 # SliTaz package receipt.
3 PACKAGE="shake"
4 VERSION="1.0"
5 CATEGORY="misc"
6 SHORT_DESC="A defragmentation tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://vleu.net/shake/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/unbrice/$PACKAGE/archive/v$VERSION.tar.gz"
14 SUGGESTED="defrag"
15 DEPENDS="attr"
16 BUILD_DEPENDS="attr attr-dev cmake help2man"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src/build
28 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 cp -a $install/usr/bin/* $fs/usr/bin
38 }