xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-connectivity/lftp/lftp_4.9.2.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunDESCRIPTION = "LFTP is a sophisticated file transfer program with \
2*4882a593Smuzhiyun               command line interface. It supports FTP, HTTP, \
3*4882a593Smuzhiyun               FISH, SFTP, HTTPS and FTPS protocols"
4*4882a593SmuzhiyunHOMEPAGE = "http://lftp.yar.ru/"
5*4882a593SmuzhiyunSECTION = "console/network"
6*4882a593SmuzhiyunLICENSE = "GPL-3.0-only"
7*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunSRC_URI = "http://lftp.yar.ru/ftp/lftp-${PV}.tar.bz2"
10*4882a593SmuzhiyunSRC_URI[md5sum] = "42ec1793c386702bc2734ffbc8a5cff1"
11*4882a593SmuzhiyunSRC_URI[sha256sum] = "8a07cbf4df09b107fe3fc41d133ee2f6cea6ef4c33ccf06c8448ad058cd96b7e"
12*4882a593Smuzhiyun
13*4882a593Smuzhiyuninherit autotools gettext pkgconfig
14*4882a593Smuzhiyun
15*4882a593Smuzhiyunacpaths = "-I ./m4"
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunEXTRA_OECONF += "--with-modules --disable-rpath"
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunPACKAGECONFIG ??= "openssl zlib gnutls readline expat"
20*4882a593SmuzhiyunPACKAGECONFIG[openssl] = "--with-openssl, --without-openssl, openssl"
21*4882a593SmuzhiyunPACKAGECONFIG[zlib] = "--with-zlib=${STAGING_INCDIR}/.., --without-zlib, zlib"
22*4882a593SmuzhiyunPACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls"
23*4882a593SmuzhiyunPACKAGECONFIG[readline] = "--with-readline=${STAGING_INCDIR}/.. --with-readline-inc=${STAGING_INCDIR} --with-readline-lib=-lreadline, --with-readline=no, readline"
24*4882a593SmuzhiyunPACKAGECONFIG[expat] = "--with-expat=${STAGING_INCDIR}/.. --with-expat-inc=${STAGING_INCDIR} --with-expat-lib=-lexpat, , expat"
25*4882a593Smuzhiyun
26*4882a593Smuzhiyundo_install:append() {
27*4882a593Smuzhiyun	rm -rf ${D}${libdir}/charset.alias
28*4882a593Smuzhiyun}
29*4882a593SmuzhiyunFILES:${PN} += "${datadir}/icons/hicolor"
30*4882a593SmuzhiyunFILES:${PN}-dbg += "${libdir}/lftp/${PV}/.debug"
31*4882a593SmuzhiyunRDEPENDS:${PN} = "perl bash readline"
32