void-packages/srcpkgs/proftpd/template

28 lines
802 B
Bash

# Template file for 'proftpd'
pkgname=proftpd
version=1.3.7e
revision=2
build_style=gnu-configure
makedepends="libcap-devel"
short_desc="Highly configurable GPL-licensed FTP server software"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="http://www.proftpd.org/"
changelog="https://github.com/proftpd/proftpd/blob/${version}/RELEASE_NOTES"
distfiles="https://github.com/proftpd/proftpd/archive/v${version}.tar.gz"
checksum=6e716a3b53ee069290399fce6dccf4c229fafe6ec2cb14db3778b7aa3f9a8c92
conf_files="/etc/proftpd.conf"
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi
proftpd-devel_package() {
short_desc+=" - development files"
depends="proftpd>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}