]> Pileus Git - ~andy/sunrise/commitdiff
net-p2p/btg: New Ebuild for bug 170925.
authorMounir Lamouri <volkmar@gentoo.org>
Sat, 17 Mar 2007 15:07:22 +0000 (15:07 +0000)
committerMounir Lamouri <volkmar@gentoo.org>
Sat, 17 Mar 2007 15:07:22 +0000 (15:07 +0000)
svn path=/sunrise/; revision=3255

net-p2p/btg/ChangeLog [new file with mode: 0644]
net-p2p/btg/Manifest [new file with mode: 0644]
net-p2p/btg/btg-0.9.0.ebuild [new file with mode: 0644]
net-p2p/btg/files/digest-btg-0.9.0 [new file with mode: 0644]
net-p2p/btg/metadata.xml [new file with mode: 0644]

diff --git a/net-p2p/btg/ChangeLog b/net-p2p/btg/ChangeLog
new file mode 100644 (file)
index 0000000..342325a
--- /dev/null
@@ -0,0 +1,8 @@
+# ChangeLog for net-p2p/btg
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  17 Mar 2007; Mounir Lamouri (Volkmar) <mounir.lamouri@gmail.com>
+  +btg-0.9.0.ebuild, +metadata.xml:
+  New Ebuild for bug 170925.
+
diff --git a/net-p2p/btg/Manifest b/net-p2p/btg/Manifest
new file mode 100644 (file)
index 0000000..2fb0b5e
--- /dev/null
@@ -0,0 +1,4 @@
+DIST btg-0.9.0.tar.gz 1047418 RMD160 29b1e3685a4502510046c97b5841ae2e2775988d SHA1 cb1f068f1f5ebb8a626a3736e9298d2f4647e3cc SHA256 b587b7eedeec8055f25606e62637d394d295f2f15a97a40c17721a0e936b5308
+EBUILD btg-0.9.0.ebuild 1416 RMD160 5ca2d0e61ce1212e2f5e2002488a5ca959040d08 SHA1 048d92b497600db05c050ec5f45e9d5dd8a98737 SHA256 9492213078d8259f256fd93bc56aa05c5954df57e195a0428420aef3561ede77
+MISC ChangeLog 245 RMD160 84b5e3c41c998172db3d115fd4ba83debbe52f60 SHA1 983767fe2bf64596d2f4cd814bca2d783d4614c3 SHA256 abc1aa68f55a7852e5df7b9bcd325f618ab52a95b55d8d5bcb82ed336dc136fa
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/net-p2p/btg/btg-0.9.0.ebuild b/net-p2p/btg/btg-0.9.0.ebuild
new file mode 100644 (file)
index 0000000..378d4db
--- /dev/null
@@ -0,0 +1,55 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DESCRIPTION="Linux bittorrent client implemented in C++."
+HOMEPAGE="http://btg.berlios.de/"
+SRC_URI="mirror://berlios/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cppunit debug doc gtk ncurses session-saving"
+
+RDEPEND=">=net-libs/rb_libtorrent-0.10
+               >=dev-libs/boost-1.32
+               >=dev-libs/libsigc++-2
+               ncurses? ( >=sys-libs/ncurses-5 )
+               gtk? ( >=dev-cpp/gtkmm-2.4 )
+               cppunit? ( dev-util/cppunit )"
+DEPEND="${RDEPEND}
+               doc? ( app-doc/doxygen )"
+
+src_compile() {
+       if built_with_use "dev-libs/boost" threads || use built_with_use "dev-libs/boost" threads-only ; then
+               BOOST_LIBS="--with-boost-iostreams=boost_iostreams-mt \
+                                       --with-boost-filesystem=boost_filesystem-mt \
+                                       --with-boost-thread=boost_thread-mt \
+                                       --with-boost-date-time=boost_date_time-mt \
+                                       --with-boost-program_options=boost_program_options-mt"
+
+               einfo "Using threaded Boost libraries"
+       fi
+
+       econf $(use_enable debug) \
+               $(use_enable ncurses cli) \
+               $(use_enable gtk gui) \
+               $(use_enable cppunit) \
+               $(use_enable session-saving) \
+               ${BOOST_LIBS}
+
+       if use doc ; then
+               emake doxygen || die 'generating doc failed'
+       fi
+
+       emake || die 'compile failed'
+}
+
+src_install() {
+       emake DESTDIR="${D}" install || die 'install failed'
+
+       dodoc AUTHORS ChangeLog README TODO
+}
+
diff --git a/net-p2p/btg/files/digest-btg-0.9.0 b/net-p2p/btg/files/digest-btg-0.9.0
new file mode 100644 (file)
index 0000000..3444c10
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 3202b5ce976a2d4ae79ee0594716d9a5 btg-0.9.0.tar.gz 1047418
+RMD160 29b1e3685a4502510046c97b5841ae2e2775988d btg-0.9.0.tar.gz 1047418
+SHA256 b587b7eedeec8055f25606e62637d394d295f2f15a97a40c17721a0e936b5308 btg-0.9.0.tar.gz 1047418
diff --git a/net-p2p/btg/metadata.xml b/net-p2p/btg/metadata.xml
new file mode 100644 (file)
index 0000000..7e32869
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>