wok-current view sagan-rules/receipt @ rev 24557

updated fltk packages (1.3.5 -> 1.3.8)
author Hans-G?nter Theisgen
date Fri Feb 25 15:09:26 2022 +0100 (2022-02-25)
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 }