void-packages/srcpkgs/bftpd/template
2020-09-29 10:33:12 -04:00

27 lines
652 B
Bash

# Template file for 'bftpd'
pkgname=bftpd
version=5.6
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=1094f25afc23c24a1b63db7ebe9f9b72bba4bc3b9245d13d8054ad724ea37aa2
CFLAGS="-fcommon"
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
}