void-packages/srcpkgs/bftpd/template

28 lines
612 B
Bash

# Template file for 'bftpd'
pkgname=bftpd
version=5.9
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=2cc7233dd78f94aa950f791d94fc45e0b955a7d04b2459204e0f9659a58faea6
CFLAGS="-fcommon"
post_configure() {
vsed -i -e "s|LDFLAGS=$|LDFLAGS=${LDFLAGS}|" \
-e "s|sbin|bin|g" \
Makefile
}
post_install() {
vsv bftpd
vconf bftpd.conf
}