bftpd: get rid of wget
This commit is contained in:
parent
5e5e88dff2
commit
20ed464a23
1 changed files with 4 additions and 12 deletions
|
@ -7,19 +7,11 @@ maintainer="Norbert Vegh <vegh@norvegh.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://bftpd.sourceforge.net/"
|
homepage="http://bftpd.sourceforge.net/"
|
||||||
checksum=b805ebbdd3de993ca14d733ad9ad007ac342a1646b257d91a53ec87a36c7f741
|
checksum=b805ebbdd3de993ca14d733ad9ad007ac342a1646b257d91a53ec87a36c7f741
|
||||||
hostmakedepends="wget"
|
distfiles=http://${SOURCEFORGE_SITE}/bftpd/bftpd-${version}.tar.gz
|
||||||
|
|
||||||
do_fetch()
|
post_extract()
|
||||||
{
|
{
|
||||||
rm -f download
|
cd ${XBPS_BUILDDIR}
|
||||||
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}
|
mv bftpd bftpd-${version}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,5 +21,5 @@ configure_args="--mandir=/usr/share/man"
|
||||||
post_install()
|
post_install()
|
||||||
{
|
{
|
||||||
vsv bftpd
|
vsv bftpd
|
||||||
vcopy bftpd.conf "etc"
|
vconf bftpd.conf
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue