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 \ |
| 11 | " |
| 12 | SRC_URI[md5sum] = "42d0f896d69a4d603ec097546444245f" |
| 13 | SRC_URI[sha256sum] = "5f200687c05d0807690d9fb770327b226f02dd86155b49e750853fce4e31098d" |
| 14 | |
| 15 | inherit autotools-brokensep pkgconfig |
| 16 | |
| 17 | CFLAGS += "-DNO_SSLv2 -D_FILE_OFFSET_BITS=64 -Wall" |
| 18 | |
| 19 | PACKAGECONFIG ??= "" |
| 20 | PACKAGECONFIG[ccdv] = "--enable-ccdv,--disable-ccdv,," |
| 21 | |
| 22 | EXTRA_OECONF = "--disable-precomp" |
| 23 | TARGET_CC_ARCH_append = " ${SELECTED_OPTIMIZATION}" |
| 24 | |
| 25 | do_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 | } |
| 30 | do_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 | } |