wok view stegsnow/receipt @ rev 25532
Add some current_version()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 27 10:46:05 2023 +0000 (20 months ago) |
parents | 4ec7886bf6d2 |
children | 73f36875e5a7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="stegsnow"
4 SOURCE="snow"
5 VERSION="20130616"
6 CATEGORY="security"
7 SHORT_DESC="The Steganographic Nature Of Whitespace."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="Apache"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.darkside.com.au/snow"
12 WGET_URL="$WEB_SITE/$TARBALL"
13 TAGS="stenography"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WGET_URL%/*} 2>/dev/null | \
19 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 make
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 cp -a $src/snow $fs/usr/bin/stegsnow
33 }