27 lines
645 B
Bash
27 lines
645 B
Bash
# Template file for 'bftpd'
|
|
pkgname=bftpd
|
|
version=6.1
|
|
revision=3
|
|
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="https://bftpd.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz"
|
|
checksum=9721d0614e1a5d0fe6b80c9a8a04ada8efd42cbdfddd239e95a8059ae283aa6f
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
|
|
makedepends+=" libxcrypt-devel"
|
|
fi
|
|
|
|
CFLAGS="-fcommon"
|
|
make_build_args=V=1
|
|
make_dirs="/var/run/bftpd 0755 root root"
|
|
conf_files="/etc/bftpd.conf"
|
|
|
|
post_install() {
|
|
vsv bftpd
|
|
}
|