void-packages/srcpkgs/bftpd/template

26 lines
628 B
Bash

# Template file for 'bftpd'
pkgname=bftpd
version=4.9
revision=1
wrksrc="$pkgname"
build_style=gnu-configure
configure_args="--enable-libz"
makedepends="zlib-devel"
short_desc="A simple FTP server"
maintainer="Norbert Vegh <vegh@norvegh.com>"
license="GPL-2"
homepage="http://bftpd.sourceforge.net/"
checksum=cdd8cdfbca44309bac47b2d6cc1efd7c63ff3535a1803ace89f73dc9128df28e
distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
pre_build() {
sed -i "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" Makefile
}
do_install() {
sed -i 's,sbin,bin,g' Makefile
make PREFIX=/usr DESTDIR=${DESTDIR} install
vsv bftpd
vconf bftpd.conf
}