wok annotate aespipe/receipt @ rev 25707
Up perl-net-pcap (0.21), qtermwidget (0.5.1), youtube-dl-gui (0.3.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 05 14:08:34 2024 +0000 (4 months ago) |
parents | 69e1e705f038 |
children |
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" |
pascal@25510 | 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" |
pascal@25457 | 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@25605 | 18 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;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 } |