Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | DESCRIPTION = "LFTP is a sophisticated file transfer program with \ |
| 2 | command line interface. It supports FTP, HTTP, \ |
| 3 | FISH, SFTP, HTTPS and FTPS protocols" |
| 4 | HOMEPAGE = "http://lftp.yar.ru/" |
| 5 | SECTION = "console/network" |
| 6 | LICENSE = "GPLv3" |
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
| 8 | |
| 9 | SRC_URI = "http://lftp.yar.ru/ftp/lftp-${PV}.tar.bz2 \ |
| 10 | file://fix-gcc-6-conflicts-signbit.patch \ |
| 11 | " |
| 12 | SRC_URI[md5sum] = "3701e7675baa5619c92622eb141c8301" |
| 13 | SRC_URI[sha256sum] = "fe441f20a9a317cfb99a8b8e628ba0457df472b6d93964d17374d5b5ebdf9280" |
| 14 | |
| 15 | inherit autotools gettext pkgconfig |
| 16 | |
| 17 | acpaths = "-I ./m4" |
| 18 | |
| 19 | EXTRA_OECONF += "--with-modules" |
| 20 | |
| 21 | PACKAGECONFIG ??= "libidn openssl zlib gnutls readline expat" |
| 22 | PACKAGECONFIG[libidn] = "--with-libidn, --without-libidn, libidn" |
| 23 | PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl, openssl" |
| 24 | PACKAGECONFIG[zlib] = "--with-zlib=${STAGING_INCDIR}/.., --without-zlib, zlib" |
| 25 | PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls" |
| 26 | PACKAGECONFIG[readline] = "--with-readline=${STAGING_INCDIR}/.. --with-readline-inc=${STAGING_INCDIR} --with-readline-lib=-lreadline, --with-readline=no, readline" |
| 27 | PACKAGECONFIG[expat] = "--with-expat=${STAGING_INCDIR}/.. --with-expat-inc=${STAGING_INCDIR} --with-expat-lib=-lexpat, , expat" |
| 28 | |
| 29 | do_install_append() { |
| 30 | rm -rf ${D}${libdir}/charset.alias |
| 31 | } |
| 32 | |
| 33 | FILES_${PN}-dbg += "${libdir}/lftp/${PV}/.debug" |
| 34 | RDEPENDS_${PN} = "perl bash readline" |