You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
682 B
35 lines
682 B
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
DESCRIPTION="The no nonsense TFTP/FTP server"
|
|
HOMEPAGE="https://github.com/troglobit/uftpd"
|
|
SRC_URI="https://github.com/troglobit/${PN}/releases/download/v${PV}/${P}.tar.xz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
RDEPEND="
|
|
>=dev-libs/libite-1.5
|
|
>=dev-libs/libuev-2.2"
|
|
|
|
DEPEND="
|
|
${RDEPEND}
|
|
!net-misc/uftp
|
|
!net-ftp/atftp
|
|
!net-ftp/tftp-hpa[server(+)]
|
|
test? (
|
|
net-ftp/ftp
|
|
net-ftp/tnftp
|
|
>=net-ftp/tftp-hpa-5.2-r2[client]
|
|
)"
|
|
|
|
src_test() {
|
|
# can't run the tests in parallel since the order matters
|
|
emake -j 1 check
|
|
}
|