wok-6.x view sagan-rules/receipt @ rev 24495

updated dolibarr again (10.0.6 -> 14.0.5)
author Hans-G?nter Theisgen
date Sat Feb 19 13:42:19 2022 +0100 (2022-02-19)
parents 164fcaca1cd0
children de1a43f5b15c
line source
1 # SliTaz package receipt.
3 PACKAGE="sagan-rules"
4 VERSION="08222011"
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="http://sagan.softwink.com/rules/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - ${WGET_URL%/*} 2>/dev/null | \
17 sed "/current/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed 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 }