wok annotate logfence/receipt @ rev 25462

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