blob: 5f92f27fdfbb7a0f9ffc60c4095c01a57606ad5d [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001DESCRIPTION = "A sophisticated console ftp client"
2HOMEPAGE = "http://ncftp.com/"
3SECTION = "net"
4LICENSE = "ClArtistic"
5LIC_FILES_CHKSUM = "file://ncftp/cmds.c;beginline=3;endline=4;md5=9c2390809f71465aa7ff76e03dc14d91"
6DEPENDS = "ncurses"
7
8SRC_URI = "ftp://ftp.ncftp.com/${BPN}/${BP}-src.tar.xz \
9 file://ncftp-configure-use-BUILD_CC-for-ccdv.patch \
10 file://unistd.patch \
11"
12SRC_URI[md5sum] = "42d0f896d69a4d603ec097546444245f"
13SRC_URI[sha256sum] = "5f200687c05d0807690d9fb770327b226f02dd86155b49e750853fce4e31098d"
14
15inherit autotools-brokensep pkgconfig
16
17CFLAGS += "-DNO_SSLv2 -D_FILE_OFFSET_BITS=64 -Wall"
18
19PACKAGECONFIG ??= ""
20PACKAGECONFIG[ccdv] = "--enable-ccdv,--disable-ccdv,,"
21
22EXTRA_OECONF = "--disable-precomp"
23TARGET_CC_ARCH_append = " ${SELECTED_OPTIMIZATION}"
24
25do_configure() {
26 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}
27 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}
28 oe_runconf
29}
30do_install () {
31 install -d ${D}${bindir} ${D}${sysconfdir} ${D}${mandir}
32 oe_runmake 'prefix=${D}${prefix}' 'BINDIR=${D}${bindir}' \
33 'SYSCONFDIR=${D}${sysconfdir}' 'mandir=${D}${mandir}' \
34 install
35}