void-packages/srcpkgs/bftpd/template
maxice8 d080e5ee3b bftpd: update to 4.9.
Closes: #11978 [via git-merge-pr]
2018-03-05 19:40:54 -08:00

25 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
}