void-packages/srcpkgs/bftpd/template

25 lines
633 B
Bash

# Template file for 'bftpd'
pkgname=bftpd
version=5.4
revision=1
wrksrc="$pkgname"
build_style=gnu-configure
configure_args="--enable-libz"
makedepends="zlib-devel"
short_desc="Simple FTP server"
maintainer="Norbert Vegh <vegh@norvegh.com>"
license="GPL-2.0-only"
homepage="http://bftpd.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
checksum=ef0ee701eacb103c455d0f7644d4313ccae89ed4d8d8de1e9a72f231444ecda5
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
}