1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit toolchain-funcs
7 DESCRIPTION="Simple command line utility to create BitTorrent metainfo files"
8 HOMEPAGE="https://github.com/Rudde/mktorrent"
10 if [[ ${PV} == *9999 ]]; then
12 EGIT_REPO_URI="https://github.com/Rudde/mktorrent.git"
14 SRC_URI="https://github.com/Rudde/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
15 KEYWORDS="~amd64 ~arm ~x86"
20 KEYWORDS="~amd64 ~arm ~x86"
21 IUSE="threads +ssl debug"
23 RDEPEND="ssl? ( dev-libs/openssl:0= )"
33 USE_OPENSSL=$(usex ssl) \
34 USE_PTHREADS=$(usex threads)