wok-current annotate stegdetect/receipt @ rev 24557
updated fltk packages (1.3.5 -> 1.3.8)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 15:09:26 2022 +0100 (2022-02-25) |
parents | 8dd8bab3f0ca |
children | e1e1678c5265 |
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@18097 | 11 WGET_URL="$WEB_SITE/$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@24497 | 18 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' |
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 } |