Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | DESCRIPTION = "A sophisticated console ftp client" |
| 2 | HOMEPAGE = "http://ncftp.com/" |
| 3 | SECTION = "net" |
| 4 | LICENSE = "ClArtistic" |
| 5 | LIC_FILES_CHKSUM = "file://ncftp/cmds.c;beginline=3;endline=4;md5=9c2390809f71465aa7ff76e03dc14d91" |
| 6 | DEPENDS = "ncurses" |
| 7 | |
| 8 | SRC_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 Geissler | bffdb3e | 2020-08-21 16:13:29 -0500 | [diff] [blame] | 11 | file://ncftp-3.2.5-gcc10.patch \ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 12 | " |
| 13 | SRC_URI[md5sum] = "42d0f896d69a4d603ec097546444245f" |
| 14 | SRC_URI[sha256sum] = "5f200687c05d0807690d9fb770327b226f02dd86155b49e750853fce4e31098d" |
| 15 | |
| 16 | inherit autotools-brokensep pkgconfig |
| 17 | |
| 18 | CFLAGS += "-DNO_SSLv2 -D_FILE_OFFSET_BITS=64 -Wall" |
| 19 | |
| 20 | PACKAGECONFIG ??= "" |
| 21 | PACKAGECONFIG[ccdv] = "--enable-ccdv,--disable-ccdv,," |
| 22 | |
| 23 | EXTRA_OECONF = "--disable-precomp" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 24 | TARGET_CC_ARCH:append = " ${SELECTED_OPTIMIZATION}" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 25 | |
| 26 | do_configure() { |
| 27 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S} |
| 28 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S} |
| 29 | oe_runconf |
| 30 | } |
| 31 | do_install () { |
| 32 | install -d ${D}${bindir} ${D}${sysconfdir} ${D}${mandir} |
| 33 | oe_runmake 'prefix=${D}${prefix}' 'BINDIR=${D}${bindir}' \ |
| 34 | 'SYSCONFDIR=${D}${sysconfdir}' 'mandir=${D}${mandir}' \ |
| 35 | install |
| 36 | } |