blob: ef047f7a3c848f8c515e341bbc750ba514c73bce [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001DESCRIPTION = "LFTP is a sophisticated file transfer program with \
2 command line interface. It supports FTP, HTTP, \
3 FISH, SFTP, HTTPS and FTPS protocols"
4HOMEPAGE = "http://lftp.yar.ru/"
5SECTION = "console/network"
6LICENSE = "GPLv3"
7LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
8
Brad Bishope42b3e32020-01-15 22:08:42 -05009SRC_URI = "http://lftp.yar.ru/ftp/lftp-${PV}.tar.bz2"
10SRC_URI[md5sum] = "b05817a2c26463618271730d0f677edb"
11SRC_URI[sha256sum] = "309e7e91a7c020625715e85c1726b1e7524da22518683fbe051ac13116dedeac"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080012
13inherit autotools gettext pkgconfig
14
15acpaths = "-I ./m4"
16
17EXTRA_OECONF += "--with-modules --disable-rpath"
18
19PACKAGECONFIG ??= "openssl zlib gnutls readline expat"
20PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl, openssl"
21PACKAGECONFIG[zlib] = "--with-zlib=${STAGING_INCDIR}/.., --without-zlib, zlib"
22PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls"
23PACKAGECONFIG[readline] = "--with-readline=${STAGING_INCDIR}/.. --with-readline-inc=${STAGING_INCDIR} --with-readline-lib=-lreadline, --with-readline=no, readline"
24PACKAGECONFIG[expat] = "--with-expat=${STAGING_INCDIR}/.. --with-expat-inc=${STAGING_INCDIR} --with-expat-lib=-lexpat, , expat"
25
26do_install_append() {
27 rm -rf ${D}${libdir}/charset.alias
28}
29FILES_${PN} += "${datadir}/icons/hicolor"
30FILES_${PN}-dbg += "${libdir}/lftp/${PV}/.debug"
31RDEPENDS_${PN} = "perl bash readline"