wok view stegdetect/receipt @ rev 25770

dool,fake-hwclock,gtkam,xfce4-*-plugin,xlogo: add current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 06 11:29:23 2024 +0000 (2 months ago)
parents 505d1daeed6c
children
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="https://fossies.org/linux/privat/old/$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 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;q'
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 }