wok view lftp/receipt @ rev 25735
Remove iptraf: replaced by iptraf-ng
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 23 09:39:49 2024 +0000 (2 months ago) |
parents | ede1d184d5c5 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="lftp"
4 VERSION="4.9.2"
5 CATEGORY="network"
6 SHORT_DESC="Small but powerful ftp client."
7 MAINTAINER="mimas@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://lftp.yar.ru/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://lftp.yar.ru/ftp/$TARBALL"
14 DEPENDS="expat gcc83-lib-base gmp gnutls readline"
15 BUILD_DEPENDS="expat-dev gcc83 gcc83-lib-base gmp-dev gnutls-dev gperf
16 libgnutls ncurses-dev readline-dev"
18 CROSS="bug: failed at test"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://lftp.yar.ru/get.html 2>/dev/null | \
24 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 CC=gcc-83 \
32 CXX=g++-83 \
33 --with-gnutls \
34 --without-openssl \
35 --build=$HOST_SYSTEM \
36 --host=$HOST_SYSTEM &&
37 make &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cook_copy_folders bin
45 }