summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2007-11-23 19:35:25 +0000
committerRaúl Porcel <armin76@gentoo.org>2007-11-23 19:35:25 +0000
commit2ec99ebc83c66a5eaf348ca822070b05eec59cbf (patch)
tree88cd675d3b67b5f29274695124fef5f379275e05 /net-p2p/hrktorrent
parentStable on x86 wrt bug #200106 (diff)
downloadgentoo-2-2ec99ebc83c66a5eaf348ca822070b05eec59cbf.tar.gz
gentoo-2-2ec99ebc83c66a5eaf348ca822070b05eec59cbf.tar.bz2
gentoo-2-2ec99ebc83c66a5eaf348ca822070b05eec59cbf.zip
Initial import, initial ebuild by 'most.idiot' from the forums
(Portage version: 2.1.4_rc2)
Diffstat (limited to 'net-p2p/hrktorrent')
-rw-r--r--net-p2p/hrktorrent/ChangeLog10
-rw-r--r--net-p2p/hrktorrent/Manifest16
-rw-r--r--net-p2p/hrktorrent/files/digest-hrktorrent-0.2.13
-rw-r--r--net-p2p/hrktorrent/hrktorrent-0.2.1.ebuild41
-rw-r--r--net-p2p/hrktorrent/metadata.xml5
5 files changed, 75 insertions, 0 deletions
diff --git a/net-p2p/hrktorrent/ChangeLog b/net-p2p/hrktorrent/ChangeLog
new file mode 100644
index 000000000000..a67c566ad3ed
--- /dev/null
+++ b/net-p2p/hrktorrent/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-p2p/hrktorrent
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/hrktorrent/ChangeLog,v 1.1 2007/11/23 19:35:24 armin76 Exp $
+
+*hrktorrent-0.2.1 (23 Nov 2007)
+
+ 23 Nov 2007; Raúl Porcel <armin76@gentoo.org> +metadata.xml,
+ +hrktorrent-0.2.1.ebuild:
+ Initial import, initial ebuild by 'most.idiot' from the forums
+
diff --git a/net-p2p/hrktorrent/Manifest b/net-p2p/hrktorrent/Manifest
new file mode 100644
index 000000000000..37b34fe5618c
--- /dev/null
+++ b/net-p2p/hrktorrent/Manifest
@@ -0,0 +1,16 @@
+DIST hrktorrent-0.2.1.tar.bz2 5026 RMD160 b5281d8a6f7bf97046b399c85e75054bbd8421b3 SHA1 b25dc8076143792e1fecf9d710306bb67c2bd601 SHA256 6c357fd853d42a5869cfaeb48cdb73b6d455ff2bbe238243695743a64cd8a916
+EBUILD hrktorrent-0.2.1.ebuild 1131 RMD160 ae278e781c70514d4c7a0e1caa7fbfa75daf44ca SHA1 c58cef7b10d0f41a259c8d9271a7a07035e95baf SHA256 330c89cc062cc4355f9c98080b34fb8911460fc7373cc751989848e57c749d36
+MD5 b4411b7b72ce2914ba0f2c50714508d7 hrktorrent-0.2.1.ebuild 1131
+RMD160 ae278e781c70514d4c7a0e1caa7fbfa75daf44ca hrktorrent-0.2.1.ebuild 1131
+SHA256 330c89cc062cc4355f9c98080b34fb8911460fc7373cc751989848e57c749d36 hrktorrent-0.2.1.ebuild 1131
+MISC ChangeLog 310 RMD160 42254c7666907dee17171b9b6f310d3c253aa99c SHA1 007f569aa18b5c5c2a97e9d886391eedf05b85f6 SHA256 dc63dd4754211b9a58cc7ee4c557eaa05db2c7532845204729e8969b4eb6bd3c
+MD5 1e24d465d27178e62d3bdc2b45712bc5 ChangeLog 310
+RMD160 42254c7666907dee17171b9b6f310d3c253aa99c ChangeLog 310
+SHA256 dc63dd4754211b9a58cc7ee4c557eaa05db2c7532845204729e8969b4eb6bd3c ChangeLog 310
+MISC metadata.xml 160 RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd SHA1 813ef5bc57f6a8d95e7cab7a745a2a824858f49c SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f
+MD5 8aefbc0e49db723ca1ad02d0c409cd49 metadata.xml 160
+RMD160 828887200387b28c37fc97111fc6bc3a0a2fcccd metadata.xml 160
+SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f metadata.xml 160
+MD5 e77fdff475b92894a4629383ae555f1d files/digest-hrktorrent-0.2.1 247
+RMD160 4db8287525ebd89ceb9792849abf8fcfdd42c1c7 files/digest-hrktorrent-0.2.1 247
+SHA256 30fa5f63c74da546a2464e9166ce5f815e61cce1f9821a804ddec48f6eed2ad4 files/digest-hrktorrent-0.2.1 247
diff --git a/net-p2p/hrktorrent/files/digest-hrktorrent-0.2.1 b/net-p2p/hrktorrent/files/digest-hrktorrent-0.2.1
new file mode 100644
index 000000000000..6dcf1415973e
--- /dev/null
+++ b/net-p2p/hrktorrent/files/digest-hrktorrent-0.2.1
@@ -0,0 +1,3 @@
+MD5 c3e5ff89df278c3e99fabc914ec866be hrktorrent-0.2.1.tar.bz2 5026
+RMD160 b5281d8a6f7bf97046b399c85e75054bbd8421b3 hrktorrent-0.2.1.tar.bz2 5026
+SHA256 6c357fd853d42a5869cfaeb48cdb73b6d455ff2bbe238243695743a64cd8a916 hrktorrent-0.2.1.tar.bz2 5026
diff --git a/net-p2p/hrktorrent/hrktorrent-0.2.1.ebuild b/net-p2p/hrktorrent/hrktorrent-0.2.1.ebuild
new file mode 100644
index 000000000000..c8ac2bf703fe
--- /dev/null
+++ b/net-p2p/hrktorrent/hrktorrent-0.2.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/hrktorrent/hrktorrent-0.2.1.ebuild,v 1.1 2007/11/23 19:35:24 armin76 Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="A slim rb_libtorrent based console torrent application supporting DHT"
+HOMEPAGE="http://henrik.unit5.ca/hrktorrent/"
+SRC_URI="http://henrik.unit5.ca/hrktorrent/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND="dev-cpp/asio
+ =net-libs/rb_libtorrent-0.12"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Respect CFLAGS, call g++ correctly, and don't strip
+ sed -i -e "s/-O2 -pipe/${CFLAGS}/g" -e "s/g++/$(tc-getCXX)/g" \
+ -e "s/-lpthread -s/-lpthread/g" -e "s/\$(C) -c/\$(C) \$(CFLAGS) -c/g" \
+ Makefile || die "sed failed"
+}
+
+src_install() {
+ dodir /usr/bin
+ cp "${WORKDIR}/${P}/hrktorrent" "${D}/usr/bin" || die "install failed"
+ dodoc CHANGELOG README hrktorrent.rc.example
+}
+
+pkg_postinst() {
+ elog "A sample configuration file for ${PN} can be found"
+ elog "in /usr/share/doc/${PF}/hrktorrent.rc.example.{gz,bz2}"
+ elog "To use a config file, extract it, put it in your home directory"
+ elog "and name it \".hrktorrent.rc\""
+}
diff --git a/net-p2p/hrktorrent/metadata.xml b/net-p2p/hrktorrent/metadata.xml
new file mode 100644
index 000000000000..aa0f3664825f
--- /dev/null
+++ b/net-p2p/hrktorrent/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-p2p</herd>
+</pkgmetadata>