Merge oe-devel@oe-devel.bkbits.net:packages
[openembedded.git] / vsftpd / vsftpd_2.0.1.oe
1 DESCRIPTION = "Secure ftp daemon"
2 SECTION = "console/network"
3 DEPENDS = "openssl"
4 PR = "r1"
5
6 SRC_URI = "ftp://vsftpd.beasts.org/users/cevans/vsftpd-2.0.1.tar.gz \
7            file://makefile.patch;patch=1 \
8            file://nopam.patch;patch=1"
9
10 do_compile() {
11         oe_runmake "LIBS=-lssl -lcrypto -lcrypt -L${STAGING_LIBDIR}"
12 }
13
14 do_install() {
15         install -d ${D}/usr/sbin
16         install -d ${D}/usr/share/man/man8
17         install -d ${D}/usr/share/man/man5
18         oe_runmake 'DESTDIR=${D}' install
19         install -d ${D}/${sysconfdir}
20         install -m 0755 ${S}/vsftpd.conf ${D}${sysconfdir}/vsftpd.conf
21 }
22