diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /net-fs/btfs/btfs-2.22.ebuild | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'net-fs/btfs/btfs-2.22.ebuild')
-rw-r--r-- | net-fs/btfs/btfs-2.22.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/net-fs/btfs/btfs-2.22.ebuild b/net-fs/btfs/btfs-2.22.ebuild new file mode 100644 index 000000000000..40ea24c601d5 --- /dev/null +++ b/net-fs/btfs/btfs-2.22.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8,9} ) + +inherit autotools python-r1 + +DESCRIPTION="a bittorrent filesystem based on FUSE" +HOMEPAGE="https://github.com/johang/btfs" +SRC_URI="https://github.com/johang/btfs/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +CDEPEND=">=sys-fs/fuse-2.8.0:0 + >=net-misc/curl-7.22.0 + dev-libs/boost:= + >=net-libs/libtorrent-rasterbar-0.16.0:=" +DEPEND="${CDEPEND} + virtual/pkgconfig" +RDEPEND="${CDEPEND} + ${PYTHON_DEPS}" + +src_prepare() { + default + + # don't install btplay via make + sed -i '/^SUBDIRS =/s/scripts//' Makefile.am || die + + eautoreconf +} + +src_install() { + default + python_foreach_impl python_doscript scripts/btplay +} |