summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-p2p/tribler/ChangeLog10
-rw-r--r--net-p2p/tribler/metadata.xml12
-rw-r--r--net-p2p/tribler/tribler-5.5.10.ebuild55
3 files changed, 77 insertions, 0 deletions
diff --git a/net-p2p/tribler/ChangeLog b/net-p2p/tribler/ChangeLog
new file mode 100644
index 000000000000..2b4674bdd900
--- /dev/null
+++ b/net-p2p/tribler/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-p2p/tribler
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/tribler/ChangeLog,v 1.1 2012/02/10 03:19:49 blueness Exp $
+
+*tribler-5.5.10 (10 Feb 2012)
+
+ 10 Feb 2012; Anthony G. Basile <blueness@gentoo.org> +tribler-5.5.10.ebuild,
+ +metadata.xml:
+ Initial commit
+
diff --git a/net-p2p/tribler/metadata.xml b/net-p2p/tribler/metadata.xml
new file mode 100644
index 000000000000..88825d734f74
--- /dev/null
+++ b/net-p2p/tribler/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>blueness@gentoo.org</email>
+ <name>Anthony G. Basile</name>
+ </maintainer>
+ <longdescription>
+ Python based bittorrent client that does not require an external
+ website or indexing service to discover content.
+ </longdescription>
+</pkgmetadata>
diff --git a/net-p2p/tribler/tribler-5.5.10.ebuild b/net-p2p/tribler/tribler-5.5.10.ebuild
new file mode 100644
index 000000000000..83273c41fc2f
--- /dev/null
+++ b/net-p2p/tribler/tribler-5.5.10.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/tribler/tribler-5.5.10.ebuild,v 1.1 2012/02/10 03:19:49 blueness Exp $
+
+EAPI="4"
+
+MY_PV="${PN}_${PV}-1ubuntu1_all"
+
+DESCRIPTION="Bittorrent client that does not require a website to discover content"
+HOMEPAGE="http://www.tribler.org/"
+SRC_URI="http://dl.tribler.org/${MY_PV}.deb"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/python-2.5
+ >=dev-python/m2crypto-0.16
+ >=dev-python/wxpython-2.8
+ >=dev-python/apsw-3.6
+ >=media-video/vlc-1.0.1
+ >=dev-libs/openssl-0.9.8"
+
+# Skipping for now:
+# xulrunner-sdk >= 1.9.1.5 < 1.9.2 (optional, to run SwarmTransport)
+# 7-Zip >= 4.6.5 (optional, to build SwarmTransport)
+
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ unpack ./data.tar.gz
+}
+
+src_compile() { :; }
+
+src_install() {
+ #Rename the doc dir properly
+ mv usr/share/doc/${PN} usr/share/doc/${P}
+
+ #Move the readme to the doc dir
+ mv usr/share/tribler/Tribler/readme.txt usr/share/doc/${P}
+
+ #Remove the licenses scattered throughout
+ rm usr/share/doc/${P}/copyright
+ rm usr/share/tribler/Tribler/*.txt
+ rm usr/share/tribler/Tribler/Core/DecentralizedTracking/pymdht/{LGPL-2.1.txt,LICENSE.txt}
+
+ #Copy the rest over
+ cp -pPR usr/ "${ED}"/
+}