wok annotate lftp/receipt @ rev 25466

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