wok-current annotate lftp/receipt @ rev 24632
updated gtick (0.5.4 -> 0.5.5)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 08 16:23:11 2022 +0100 (2022-03-08) |
parents | c60adee9e733 |
children | 2bab61aae6db |
rev | line source |
---|---|
mimas@2027 | 1 # SliTaz package receipt. |
mimas@2027 | 2 |
mimas@2027 | 3 PACKAGE="lftp" |
Hans-G?nter@23000 | 4 VERSION="4.9.1" |
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@21107 | 12 WGET_URL="https://lftp.tech/ftp/$TARBALL" |
Hans-G?nter@21107 | 13 |
Hans-G?nter@23000 | 14 DEPENDS="expat gcc83-lib-base gmp gnutls readline" |
pascal@23896 | 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@21107 | 37 make -j 1 && |
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 { |
mimas@2027 | 44 mkdir -p $fs/usr |
Hans-G?nter@23000 | 45 cp -a $install/usr/bin $fs/usr |
mimas@2027 | 46 } |