wok-current view logfence/receipt @ rev 24109

Up xplanet (1.3.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 28 09:25:18 2021 +0000 (2021-09-28)
parents 7d335fa9b5f7
children 72f2704d3ae0
line source
1 # SliTaz package receipt.
3 PACKAGE="logfence"
4 VERSION="0.1"
5 CATEGORY="misc"
6 SHORT_DESC="An overlay that prevents log tampering."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/dimkr/logfence"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
13 DEPENDS="fuse"
14 BUILD_DEPENDS="fuse-dev"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/sbin $fs
33 }