summaryrefslogtreecommitdiff
path: root/recipes/bftpd/bftpd_2.3.bb
blob: 242a613be529e6e09569ee9c67c727fdaaa6cdbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DESCRIPTION = "Portable ftp daemon"
HOMEPAGE = "http://bftpd.sourceforge.net/"
SECTION = "console/network"
PR = "r2"
LICENSE = "GPL"

SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${PN}-${PV}.tar.gz \
	   file://bftpd.conf \
		"

S = "${WORKDIR}/${PN}"

inherit autotools

do_install() {
	install -d ${D}${sbindir}
	install -d ${D}${mandir}/man8
	install -d ${D}${sysconfdir}

	install -m 0755 ${S}/bftpd      ${D}${sbindir}/bftpd
	install -m 0755 ${S}/bftpd.8    ${D}${mandir}/man8/bftpd.8
	install -m 0644 ${WORKDIR}/bftpd.conf ${D}${sysconfdir}/bftpd.conf
}