41 lines
1.2 KiB
BlitzBasic
41 lines
1.2 KiB
BlitzBasic
|
DESCRIPTION = "BFTP server 4.3 for storage sharing"
|
||
|
HOMEPAGE = "https://security.appspot.com/bftpd.html"
|
||
|
LICENSE = "GPLv2"
|
||
|
LIC_FILES_CHKSUM = "file://COPYING;md5=f0c5fa99a8ad661a87996abf17027f05"
|
||
|
|
||
|
SRC_URI = " \
|
||
|
https://security.appspot.com/downloads/bftpd-${PV}.tar.gz \
|
||
|
file://start_bftpd \
|
||
|
file://stop_bftpd \
|
||
|
file://bftpd_anon_rw.conf \
|
||
|
file://bftpd_signed_rw.conf \
|
||
|
"
|
||
|
S="${WORKDIR}/${PN}-${PV}"
|
||
|
inherit autotools-brokensep
|
||
|
|
||
|
do_configure () {
|
||
|
oe_runconf
|
||
|
}
|
||
|
|
||
|
do_compile() {
|
||
|
oe_runmake
|
||
|
}
|
||
|
|
||
|
do_install() {
|
||
|
install -d ${D}${bindir} ${D}${sysconfdir}/config/bftpd ${D}${sysconfdir}/default_config/bftpd
|
||
|
#oe_runmake 'DESTDIR=${D}' install
|
||
|
|
||
|
#install -m 0644 ${WORKDIR}/bftpd_anon_rw.conf ${D}${sysconfdir}/config/bftpd
|
||
|
#install -m 0644 ${WORKDIR}/bftpd_signed_rw.conf ${D}${sysconfdir}/config/bftpd
|
||
|
|
||
|
install -m 0644 ${WORKDIR}/bftpd_anon_rw.conf ${D}${sysconfdir}/default_config/bftpd
|
||
|
install -m 0644 ${WORKDIR}/bftpd_signed_rw.conf ${D}${sysconfdir}/default_config/bftpd
|
||
|
|
||
|
install -m 0755 ${S}/bftpd ${D}${bindir}/bftpd
|
||
|
install -m 0755 ${WORKDIR}/start_bftpd ${D}${bindir}/start_bftpd
|
||
|
install -m 0755 ${WORKDIR}/stop_bftpd ${D}${bindir}/stop_bftpd
|
||
|
}
|
||
|
|
||
|
|
||
|
|