void-packages/srcpkgs/bftpd/template

34 lines
711 B
Bash
Raw Normal View History

2015-05-14 21:27:31 +02:00
# Template file for 'bftpd'
pkgname=bftpd
version=4.4
revision=1
short_desc="A simple FTP server"
maintainer="Norbert Vegh <vegh@norvegh.com>"
license="GPL-2"
homepage="http://bftpd.sourceforge.net/"
checksum=b805ebbdd3de993ca14d733ad9ad007ac342a1646b257d91a53ec87a36c7f741
hostmakedepends="wget"
do_fetch()
{
rm -f download
wget http://sourceforge.net/projects/bftpd/files/bftpd/bftpd-${version}/bftpd-${version}.tar.gz/download
if ! sha256sum -c $FILESDIR/sum; then
echo "INVALID CHECKSUM"
rm -f download
return -1
fi
tar xvfz download
rm download
mv bftpd bftpd-${version}
}
build_style=configure
configure_args="--mandir=/usr/share/man"
post_install()
{
vsv bftpd
vcopy bftpd.conf "etc"
}