wok view aespipe/receipt @ rev 25769

libmaxminddb, ndpi: add current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 06 09:45:40 2024 +0000 (2 months ago)
parents 69e1e705f038
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|.*a href="|"https://sourceforge.net|;s| .*||;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 }