summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-fs/btfs')
-rw-r--r--net-fs/btfs/Manifest1
-rw-r--r--net-fs/btfs/btfs-2.18.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/net-fs/btfs/Manifest b/net-fs/btfs/Manifest
index 3f56bf57ca4..370fb309d23 100644
--- a/net-fs/btfs/Manifest
+++ b/net-fs/btfs/Manifest
@@ -1,2 +1,3 @@
DIST btfs-2.16.tar.gz 24004 SHA256 673013ba648285f380848ae2e2f8a06800f781a0680582c0d550cc0c563cc08b SHA512 c073b24dc1cd595db32f80732156ba904683289106557e3df47fa46328c55ffd7a92153946381bb0a06abe2eef96d6690608712852516ca54164ca058451b517 WHIRLPOOL e9c3d35008239e9e5936b89c2b6bdb14ed84e17b6f837b8947b04097ae05f0e8d0f6479756f687e566516564f2093ec0ed8d35c4248f44026b1576c51f2fef89
DIST btfs-2.17.tar.gz 24231 SHA256 80a5a3ad48bebf13441d506755b2402ac230dc3f1f648ce12d3855e5cf04e53b SHA512 e4fae52e46581ca382ac4ddd64d80217a9bc0c18cd6317bb4780734c193dcdd9cfed210073b5fd2d8514be2922bb3f0481b13695411e97bb67b7d793f071c3e1 WHIRLPOOL 709a4c8abbee99b10bcdda389e112dbe02a540033e1fff6662004308fedd6dab217b25b7f710a05a23279b90f8a409f96c0d55af709c4f77b74a737b6eea8f7c
+DIST btfs-2.18.tar.gz 24185 BLAKE2B e9e8ca472b3231db66e859cbe28e6a664255aca456e6a0bdd5dd7d4e093b83d0322709c79d00b4d54d73adfdbf8f6d0487ad4ae69357a2f554ac899095416ac2 SHA512 d29f3816527c1eed105b45da559d025d61c8652144358227ed0ca3e516582cd8186fdcdf730b19fde6e7e9db1477690237444d2efe7c740f81f91032f1a12f86
diff --git a/net-fs/btfs/btfs-2.18.ebuild b/net-fs/btfs/btfs-2.18.ebuild
new file mode 100644
index 00000000000..00453fa98b6
--- /dev/null
+++ b/net-fs/btfs/btfs-2.18.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+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
+}