wok annotate lftp/receipt @ rev 24145
ventoy: set arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 17 10:14:59 2021 +0000 (2021-11-17) |
parents | ae377eba9841 |
children | ede1d184d5c5 |
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 |
mimas@2027 | 20 # Rules to configure and make the package. |
mimas@2027 | 21 compile_rules() |
mimas@2027 | 22 { |
Hans-G?nter@21107 | 23 ./configure \ |
Hans-G?nter@23000 | 24 CC=gcc-83 \ |
Hans-G?nter@23000 | 25 CXX=g++-83 \ |
Hans-G?nter@21107 | 26 --with-gnutls \ |
Hans-G?nter@21107 | 27 --without-openssl \ |
Hans-G?nter@21107 | 28 --build=$HOST_SYSTEM \ |
slaxemulator@12381 | 29 --host=$HOST_SYSTEM && |
Hans-G?nter@21107 | 30 make -j 1 && |
slaxemulator@9068 | 31 make install |
mimas@2027 | 32 } |
mimas@2027 | 33 |
mimas@2027 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2027 | 35 genpkg_rules() |
mimas@2027 | 36 { |
mimas@2027 | 37 mkdir -p $fs/usr |
Hans-G?nter@23000 | 38 cp -a $install/usr/bin $fs/usr |
mimas@2027 | 39 } |