blob: bf793d91d350fb1248d430a505bde8ddb2243e5c [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
9SRC_URI = "http://lftp.yar.ru/ftp/lftp-${PV}.tar.bz2 \
10 file://fix-gcc-6-conflicts-signbit.patch \
11 "
12SRC_URI[md5sum] = "a56b5047dbfda052df4c1dfd197aa092"
13SRC_URI[sha256sum] = "a853edbd075b008c315679c7882b6dcc6821ed2365d2ed843a412acd3d40da0e"
14
15inherit autotools gettext pkgconfig
16
17acpaths = "-I ./m4"
18
19EXTRA_OECONF += "--with-modules --disable-rpath"
20
21PACKAGECONFIG ??= "openssl zlib gnutls readline expat"
22PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl, openssl"
23PACKAGECONFIG[zlib] = "--with-zlib=${STAGING_INCDIR}/.., --without-zlib, zlib"
24PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls"
25PACKAGECONFIG[readline] = "--with-readline=${STAGING_INCDIR}/.. --with-readline-inc=${STAGING_INCDIR} --with-readline-lib=-lreadline, --with-readline=no, readline"
26PACKAGECONFIG[expat] = "--with-expat=${STAGING_INCDIR}/.. --with-expat-inc=${STAGING_INCDIR} --with-expat-lib=-lexpat, , expat"
27
28do_install_append() {
29 rm -rf ${D}${libdir}/charset.alias
30}
31FILES_${PN} += "${datadir}/icons/hicolor"
32FILES_${PN}-dbg += "${libdir}/lftp/${PV}/.debug"
33RDEPENDS_${PN} = "perl bash readline"