wok annotate aespipe/receipt @ rev 24894
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 08 10:34:41 2022 +0000 (2022-04-08) |
parents | 5f98309efad4 |
children | ad0bc3efbf37 |
rev | line source |
---|---|
pascal@17334 | 1 # SliTaz package receipt. |
pascal@17334 | 2 |
pascal@17334 | 3 PACKAGE="aespipe" |
Hans-G?nter@22473 | 4 VERSION="2.4f" |
pascal@17334 | 5 CATEGORY="utilities" |
pascal@17334 | 6 SHORT_DESC="AES encrypting or decrypting pipe." |
pascal@17334 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17335 | 8 LICENSE="GPL" |
Hans-G?nter@22473 | 9 WEB_SITE="https://sourceforge.net/projects/loop-aes/" |
Hans-G?nter@22473 | 10 |
Hans-G?nter@20699 | 11 TARBALL="$PACKAGE-v$VERSION.tar.bz2" |
Hans-G?nter@22473 | 12 WGET_URL="${WEB_SITE}files/$PACKAGE/v$VERSION/$TARBALL" |
pascal@17334 | 13 |
pascal@24353 | 14 # What is the latest version available today? |
pascal@24353 | 15 current_version() |
pascal@24353 | 16 { |
pascal@24353 | 17 wget -O - https://sourceforge.net/projects/loop-aes/files/aespipe/ 2>/dev/null | \ |
pascal@24353 | 18 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24353 | 19 sed '/scope="row/!d;s|.*/aespipe/v||;s|/.*||;q' |
pascal@24353 | 20 } |
pascal@24353 | 21 |
pascal@17334 | 22 # Rules to configure and make the package. |
pascal@17334 | 23 compile_rules() |
pascal@17334 | 24 { |
Hans-G?nter@22473 | 25 ./configure \ |
Hans-G?nter@22473 | 26 --prefix=/usr \ |
pascal@17334 | 27 $CONFIGURE_ARGS && |
pascal@17334 | 28 make && |
pascal@17334 | 29 make DESTDIR=$DESTDIR install |
pascal@17334 | 30 } |
pascal@17334 | 31 |
pascal@17334 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17334 | 33 genpkg_rules() |
pascal@17334 | 34 { |
pascal@17334 | 35 mkdir -p $fs/usr |
pascal@17334 | 36 cp -a $install/usr/bin $fs/usr |
pascal@17334 | 37 } |