void-packages/srcpkgs/bftpd/template

28 lines
652 B
Bash

# Template file for 'bftpd'
pkgname=bftpd
version=5.5
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=1a7aa6026c7f86f0fa2aebafcf3973b84d71324cdef9e33bd492fbf29ca54393
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
}