wok-current annotate outguess/receipt @ rev 24367
created recipe for bison-lang-3.5
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 05 07:42:34 2022 +0100 (2022-02-05) |
parents | 899d2183c9c6 |
children |
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 } |