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