wok-current view stegdetect/receipt @ rev 25177
Update some web_site & wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 02 13:44:10 2022 +0000 (2022-07-02) |
parents | e1e1678c5265 |
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 '/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 }