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