diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-10-27 16:12:50 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-10-27 16:12:50 +0000 |
commit | c78203c19f3f26f2a5327df1871dec5388eb7d3c (patch) | |
tree | 473e2581436c8bda9fd8e1b9519f01c338767967 /net-p2p | |
parent | Version bump. (diff) | |
download | gentoo-2-c78203c19f3f26f2a5327df1871dec5388eb7d3c.tar.gz gentoo-2-c78203c19f3f26f2a5327df1871dec5388eb7d3c.tar.bz2 gentoo-2-c78203c19f3f26f2a5327df1871dec5388eb7d3c.zip |
Version bump.
(Portage version: 2.1.2_pre3-r9)
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/rtorrent/ChangeLog | 7 | ||||
-rw-r--r-- | net-p2p/rtorrent/files/digest-rtorrent-0.6.4 | 3 | ||||
-rw-r--r-- | net-p2p/rtorrent/rtorrent-0.6.4.ebuild | 52 |
3 files changed, 61 insertions, 1 deletions
diff --git a/net-p2p/rtorrent/ChangeLog b/net-p2p/rtorrent/ChangeLog index e6c7febba067..147b751ea03e 100644 --- a/net-p2p/rtorrent/ChangeLog +++ b/net-p2p/rtorrent/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-p2p/rtorrent # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/ChangeLog,v 1.62 2006/10/19 01:25:33 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/ChangeLog,v 1.63 2006/10/27 16:12:49 flameeyes Exp $ + +*rtorrent-0.6.4 (27 Oct 2006) + + 27 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> +rtorrent-0.6.4.ebuild: + Version bump. *rtorrent-0.6.3-r1 (19 Oct 2006) diff --git a/net-p2p/rtorrent/files/digest-rtorrent-0.6.4 b/net-p2p/rtorrent/files/digest-rtorrent-0.6.4 new file mode 100644 index 000000000000..d92c3c1372fe --- /dev/null +++ b/net-p2p/rtorrent/files/digest-rtorrent-0.6.4 @@ -0,0 +1,3 @@ +MD5 9077817e5a0f505e0b71add9c57b89f7 rtorrent-0.6.4.tar.gz 438407 +RMD160 fa9fb6e8693a9d16926b022f97db6145847bb4c6 rtorrent-0.6.4.tar.gz 438407 +SHA256 bf8ce2a565a69b26490ad34f4d8f429037bba2e5d3949ee88a03f0ebc1d3250b rtorrent-0.6.4.tar.gz 438407 diff --git a/net-p2p/rtorrent/rtorrent-0.6.4.ebuild b/net-p2p/rtorrent/rtorrent-0.6.4.ebuild new file mode 100644 index 000000000000..956d706d277b --- /dev/null +++ b/net-p2p/rtorrent/rtorrent-0.6.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/rtorrent/rtorrent-0.6.4.ebuild,v 1.1 2006/10/27 16:12:50 flameeyes Exp $ + +inherit eutils toolchain-funcs flag-o-matic + +DESCRIPTION="BitTorrent Client using libtorrent" +HOMEPAGE="http://libtorrent.rakshasa.no/" +SRC_URI="http://libtorrent.rakshasa.no/downloads/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="debug" + +RDEPEND=">=net-libs/libtorrent-0.10.1 + >=dev-libs/libsigc++-2.0 + >=net-misc/curl-7.12 + sys-libs/ncurses" +DEPEND="${RDEPEND} + sys-devel/bc" + +src_compile() { + replace-flags -Os -O2 + + if [[ $(tc-arch) = "x86" ]]; then + filter-flags -fomit-frame-pointer + + # See bug #151221. It seems only to hit on GCC 4.1 and x86 architecture + # it could be safer to fallback to -O1, but with the high use of STL in + # rtorrent, that could make it too slow. + [[ $(gcc-major-version)$(gcc-minor-version) == "41" ]] && replace-flags -O2 -O3 + fi + + econf \ + $(use_enable debug) \ + --disable-dependency-tracking \ + || die "econf failed" + + emake || die "emake failed" +} + +pkg_postinst() { + einfo "rtorrent now supports a configuration file." + einfo "A sample configuration file for rtorrent is can be found" + einfo "in ${ROOT}usr/share/doc/${PF}/rtorrent.rc.gz." +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS README TODO doc/rtorrent.rc +} |