# ChangeLog for net-libs/rb_libtorrent
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.7 2007/03/18 22:19:52 welp Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/ChangeLog,v 1.8 2007/04/03 16:43:55 armin76 Exp $
+
+*rb_libtorrent-0.12_rc2 (03 Apr 2007)
+
+ 03 Apr 2007; Raúl Porcel <armin76@gentoo.org>
+ +rb_libtorrent-0.12_rc2.ebuild:
+ Version bump
18 Mar 2007; Peter Weller <welp@gentoo.org> rb_libtorrent-0.11.ebuild:
Stable on amd64, keyworded ~x86-fbsd
DIST libtorrent-0.11.tar.gz 1130537 RMD160 24e871a048fd085e24c60f1eaece6cd432d4d64b SHA1 166a2efc907b0b589ed3eb1e10c79c81c183d314 SHA256 f350e0af6b42c2cdb1f19008b00fe5f0b70236817f532a94bcb1e3ef6ebba0d7
+DIST libtorrent-0.12rc2.tar.gz 1180061 RMD160 7517525a960333a6be281ef6e8b35cd6c494bab6 SHA1 bc7f339965d2fc3fafabea6da055abfef7e13e3a SHA256 066be0a2b4e9e89152a1cd1bba4c672f2b1b0b4735e448644061606e1fd1f64e
EBUILD rb_libtorrent-0.11.ebuild 1395 RMD160 59cde7f0138850fa4c3b42b61ba732714b183441 SHA1 7ead8fbd40beed73cac4087bea89fd835a69a3f2 SHA256 816466eba94ab520ed52f9543c3a0b548c300135b06af508c67605f360c41684
MD5 ba36cc855eb2acbc4c4afc6c2f72ed5e rb_libtorrent-0.11.ebuild 1395
RMD160 59cde7f0138850fa4c3b42b61ba732714b183441 rb_libtorrent-0.11.ebuild 1395
SHA256 816466eba94ab520ed52f9543c3a0b548c300135b06af508c67605f360c41684 rb_libtorrent-0.11.ebuild 1395
-MISC ChangeLog 1055 RMD160 4caef90a100e011a32b20ce74a9d518ce65c0da6 SHA1 18216c86d36e84554c4a6d994c954080477e6ca1 SHA256 835a30271ab214561673e9b63bfc919b676ab3fd04e66a61456717a8ea328f1d
-MD5 090da46eefc52f801160d4ff4dc7dd92 ChangeLog 1055
-RMD160 4caef90a100e011a32b20ce74a9d518ce65c0da6 ChangeLog 1055
-SHA256 835a30271ab214561673e9b63bfc919b676ab3fd04e66a61456717a8ea328f1d ChangeLog 1055
+EBUILD rb_libtorrent-0.12_rc2.ebuild 1431 RMD160 4bf533678834f6107e1f022fb1dda54291c2dd51 SHA1 193fb69fdfb6a73b0af5d97bc8e158d6f9d1e295 SHA256 2086439da05d55bee650240096d0419615742f32694e1dad53d94ca88e670e60
+MD5 cdbb5ee4b89adaa633f7a7ef9a946b20 rb_libtorrent-0.12_rc2.ebuild 1431
+RMD160 4bf533678834f6107e1f022fb1dda54291c2dd51 rb_libtorrent-0.12_rc2.ebuild 1431
+SHA256 2086439da05d55bee650240096d0419615742f32694e1dad53d94ca88e670e60 rb_libtorrent-0.12_rc2.ebuild 1431
+MISC ChangeLog 1196 RMD160 be09d5c73e174f313d7081f408d6ad02bad08033 SHA1 a2e6b556737159dd6e97fa58ef1666aff71afb40 SHA256 5deb0e37f915413b44817476955e704707656654975479bfe6f834fc4b80c2b2
+MD5 1076ed3f47d3354d0561fda4f12f667c ChangeLog 1196
+RMD160 be09d5c73e174f313d7081f408d6ad02bad08033 ChangeLog 1196
+SHA256 5deb0e37f915413b44817476955e704707656654975479bfe6f834fc4b80c2b2 ChangeLog 1196
MISC metadata.xml 222 RMD160 0dc4b04f31dcc89402f87c352327fe327b3cf31f SHA1 540337d5841f15b43186e5858f9e24032567de08 SHA256 713b9d1548682d5c1c3686a7b0711acf065a8fa4f386883ace90359d3dceb966
MD5 5d4724517f1e88f93621f26ca38ec719 metadata.xml 222
RMD160 0dc4b04f31dcc89402f87c352327fe327b3cf31f metadata.xml 222
MD5 38eb6b8bc51d925fe4f9bb722897f1c7 files/digest-rb_libtorrent-0.11 250
RMD160 a97d5e70223031b6cdae301a4b6ffd80641b4974 files/digest-rb_libtorrent-0.11 250
SHA256 6600a0e98146b1adaa9c3be32f40fd8bf7866584f947104ee9392943909c3dca files/digest-rb_libtorrent-0.11 250
+MD5 88f8f9099c523213a7e2dc75c0c385e9 files/digest-rb_libtorrent-0.12_rc2 259
+RMD160 8644c9266033680e5ffdbdd90833169cfbfe4087 files/digest-rb_libtorrent-0.12_rc2 259
+SHA256 8c8d1bdd6a2cc0fdfc320922bf4ebe017e25650bf3c76708af43fab241f735d8 files/digest-rb_libtorrent-0.12_rc2 259
--- /dev/null
+MD5 4c41307c268ed139d21b2db01cfa5f14 libtorrent-0.12rc2.tar.gz 1180061
+RMD160 7517525a960333a6be281ef6e8b35cd6c494bab6 libtorrent-0.12rc2.tar.gz 1180061
+SHA256 066be0a2b4e9e89152a1cd1bba4c672f2b1b0b4735e448644061606e1fd1f64e libtorrent-0.12rc2.tar.gz 1180061
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/rb_libtorrent/rb_libtorrent-0.12_rc2.ebuild,v 1.1 2007/04/03 16:43:55 armin76 Exp $
+
+WANT_AUTOCONF="latest"
+WANT_AUTOMAKE="latest"
+inherit eutils autotools
+
+MY_P="${P/rb_/}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="BitTorrent library written in C++ for *nix."
+HOMEPAGE="http://www.rasterbar.com/products/libtorrent/"
+SRC_URI="http://www.libtorrent.org/${MY_P/_/}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE="debug"
+
+DEPEND="dev-libs/boost
+ !net-libs/libtorrent"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P/_rc2/}"
+
+pkg_setup() {
+ # We need boost built with threads
+ if ! built_with_use "dev-libs/boost" threads; then
+ eerror "${PN} needs dev-libs/boost built with threads USE flag"
+ die "dev-libs/boost is built without threads USE flag"
+ fi
+}
+
+src_compile() {
+ BOOST_LIBS="--with-boost-date-time=boost_date_time-mt \
+ --with-boost-filesystem=boost_filesystem-mt \
+ --with-boost-thread=boost_thread-mt \
+ --with-boost-regex=boost_regex-mt \
+ --with-boost-program_options=boost_program_options-mt"
+
+ econf $(use_enable debug) \
+ ${BOOST_LIBS} \
+ LDFLAGS="${LDFLAGS} -pthread" || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc ChangeLog AUTHORS NEWS README
+}