blob: e66325c8381241161fe95add79749a851276eea5 [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 \
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050011 file://ncftp-3.2.5-gcc10.patch \
Patrick Williams92b42cb2022-09-03 06:53:57 -050012 file://0001-Forward-port-defining-PREFIX_BINDIR-to-use-new-autoc.patch \
13 "
Brad Bishopd7bf8c12018-02-25 22:55:05 -050014SRC_URI[md5sum] = "42d0f896d69a4d603ec097546444245f"
15SRC_URI[sha256sum] = "5f200687c05d0807690d9fb770327b226f02dd86155b49e750853fce4e31098d"
16
17inherit autotools-brokensep pkgconfig
18
19CFLAGS += "-DNO_SSLv2 -D_FILE_OFFSET_BITS=64 -Wall"
20
21PACKAGECONFIG ??= ""
22PACKAGECONFIG[ccdv] = "--enable-ccdv,--disable-ccdv,,"
23
Patrick Williams92b42cb2022-09-03 06:53:57 -050024EXTRA_OECONF = "--disable-precomp --disable-universal ac_cv_path_TAR=tar"
25ACLOCALEXTRAPATH:append = " -I ${S}/autoconf_local"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050026
Brad Bishopd7bf8c12018-02-25 22:55:05 -050027do_install () {
28 install -d ${D}${bindir} ${D}${sysconfdir} ${D}${mandir}
29 oe_runmake 'prefix=${D}${prefix}' 'BINDIR=${D}${bindir}' \
30 'SYSCONFDIR=${D}${sysconfdir}' 'mandir=${D}${mandir}' \
31 install
32}