wok view shake/receipt @ rev 24785

updated libspectre (0.2.7 -> 0.2.9)
author Hans-G?nter Theisgen
date Mon Mar 21 08:02:35 2022 +0100 (2022-03-21)
parents 5ea0ce1cecc0
children 73f36875e5a7
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*}/tags 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 }