wok-current view sagan-rules/receipt @ rev 25549
created recipe for lesspipe
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 03 06:53:23 2023 +0100 (21 months ago) |
parents | 453c249b6219 |
children | 9600878fc758 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sagan-rules"
4 VERSION="2.0.2"
5 CATEGORY="security"
6 SHORT_DESC="sagan rules"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://sagan.softwink.com/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/quadrantsec/sagan-rules/archive/refs/tags/v$VERSION.tar.gz"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
17 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/etc/sagan/rules
24 cp -a $src/* $fs/etc/sagan/rules
25 }