wok annotate outguess/receipt @ rev 25097

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 18 20:27:19 2022 +0000 (23 months ago)
parents 899d2183c9c6
children 7364ffdaaa60
rev   line source
pascal@18097 1 # SliTaz package receipt.
pascal@18097 2
pascal@18097 3 PACKAGE="outguess"
Hans-G?nter@24171 4 VERSION="0.4"
pascal@18097 5 CATEGORY="security"
Hans-G?nter@24171 6 TAGS="steganography"
Hans-G?nter@24171 7 SHORT_DESC="Steganographic tool for JPEG and PNG images."
pascal@18097 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18097 9 LICENSE="BSD"
Hans-G?nter@24171 10 WEB_SITE="https://github.com/resurrecting-open-source-projects/outguess"
Hans-G?nter@24171 11
pascal@18097 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24171 13 WGET_URL="$WEB_SITE/archive/refs/tags/$VERSION.tar.gz"
Hans-G?nter@24171 14
Hans-G?nter@24171 15 BUILD_DEPENDS="automake jpeg-dev"
pascal@18097 16
pascal@24175 17 current_version()
pascal@24175 18 {
pascal@24175 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24175 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24175 21 }
pascal@24175 22
pascal@18097 23 # Rules to configure and make the package.
pascal@18097 24 compile_rules()
pascal@18097 25 {
Hans-G?nter@24173 26 export CFLAGS="$CFLAGS -std=gnu99"
Hans-G?nter@24173 27
Hans-G?nter@24171 28 ./autogen.sh &&
Hans-G?nter@24171 29 ./configure \
Hans-G?nter@24171 30 --prefix=/usr \
Hans-G?nter@24171 31 --with-generic-jconfig \
pascal@18097 32 $CONFIGURE_ARGS &&
Hans-G?nter@24171 33 make &&
Hans-G?nter@24171 34 make install
pascal@18097 35 }
pascal@18097 36
pascal@18097 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18097 38 genpkg_rules()
pascal@18097 39 {
Hans-G?nter@24171 40 cook_copy_folders bin
pascal@18097 41 }