wok-current view aespipe/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | ad0bc3efbf37 |
children |
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 }