blob: 65c20c07285abed856d06008cfb7891b9bdac388 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001DESCRIPTION = "netkit-ft includes the ftp client."
2SECTION = "net"
3HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit"
Brad Bishop2d39a062019-10-28 08:33:36 -04004LICENSE = "BSD-4-Clause"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05005
6LIC_FILES_CHKSUM = "file://ftp/ftp.c;beginline=2;endline=3;md5=2d40a75a50d83b8f6317b3f53db72bfa"
7
8SRC_URI = "${DEBIAN_MIRROR}/main/n/netkit-ftp/netkit-ftp_${PV}.orig.tar.gz;name=archive \
Brad Bishop6e60e8b2018-02-01 10:27:11 -05009 ${DEBIAN_MIRROR}/main/n/netkit-ftp/netkit-ftp_${PV}-31.debian.tar.xz;name=patch31 \
10 file://Add_ARG_MAX_define.patch \
11 file://0001-ftp-include-sys-types.h-for-u_long.patch \
12 "
Patrick Williamsb48b7b42016-08-17 15:04:38 -050013
14SRC_URI[archive.md5sum] = "94441610c9b86ef45c4c6ec609444060"
15SRC_URI[archive.sha256sum] = "61c913299b81a4671ff089aac821329f7db9bc111aa812993dd585798b700349"
16SRC_URI[patch31.md5sum] = "93d71e28ce70df69e080c7f90da63cac"
17SRC_URI[patch31.sha256sum] = "4edd46a32d70daa7ba00f0ebf0118dc5d17dff23d6e46aa21a2722be2e22d1c1"
18
19inherit autotools-brokensep
20
21do_configure () {
22 ./configure --prefix=${prefix}
23 echo "LDFLAGS=${LDFLAGS}" >> MCONFIG
24}
25
26BINMODE = "0755"
27MANMODE = "0644"
28
29do_install () {
30 install -d ${D}${bindir}
31 install -d ${D}${mandir}/man1
32 install -d ${D}${mandir}/man5
33
34 install -m${BINMODE} ${S}/ftp/ftp ${D}${bindir}
35 ln -sf ftp ${D}${bindir}/pftp
36 install -m${MANMODE} ${S}/ftp/ftp.1 ${D}${mandir}/man1
37 ln -sf ftp.1 ${D}${mandir}/man1/pftp.1
38 install -m${MANMODE} ${S}/ftp/netrc.5 ${D}${mandir}/man5
39}
40
41PACKAGES = "${PN} ${PN}-doc ${BPN}-dbg"
42FILES_${PN} = "${bindir}/*"
43FILES_${PN}-doc = "${mandir}"
44FILES_${PN}-dbg = "${prefix}/src/debug \
45 ${bindir}/.debug"
46
47RDEPENDS_${PN} = "readline"