wok view stegdetect/receipt @ rev 24974

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 11:23:24 2022 +0000 (24 months ago)
parents 34e801e0eb52
children 505d1daeed6c
line source
1 # SliTaz package receipt.
3 PACKAGE="stegdetect"
4 VERSION="0.6"
5 CATEGORY="security"
6 SHORT_DESC="steganography detection tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/abeluck/stegdetect"
11 WGET_URL="$WEB_SITE/$TARBALL"
12 TAGS="stenography"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
18 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 sed -i '/static int debug/d' stegdetect.c
25 ./configure --prefix=/usr \
26 $CONFIGURE_ARGS &&
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $src/stegdetect $src/stegdeimage $src/stegcompare \
35 $src/stegbreak $fs/usr/bin
36 }