summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2014-09-07 18:46:39 +0200
committerSebastian Pipping <sebastian@pipping.org>2014-09-07 19:06:29 +0200
commit63c225d3953c3b7b53cf7db993b5c5f41894f153 (patch)
treeefe9c378739eb378a20ecdb5b7394cffaf3b83ce /dev-libs
parentapp-misc/netjail: 1.0.0 (diff)
downloadbetagarden-63c225d3953c3b7b53cf7db993b5c5f41894f153.tar.gz
betagarden-63c225d3953c3b7b53cf7db993b5c5f41894f153.tar.bz2
betagarden-63c225d3953c3b7b53cf7db993b5c5f41894f153.zip
dev-libs/libttdht: 0_p20140917
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libttdht/Manifest1
-rw-r--r--dev-libs/libttdht/libttdht-0_p20140917.ebuild30
-rw-r--r--dev-libs/libttdht/metadata.xml8
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/libttdht/Manifest b/dev-libs/libttdht/Manifest
new file mode 100644
index 0000000..411b662
--- /dev/null
+++ b/dev-libs/libttdht/Manifest
@@ -0,0 +1 @@
+DIST libttdht-0_p20140917.tar.xz 43064 SHA256 e563ce1de7ef20acbc0b3db4ab1adc97fd7febf3bcad3d8cd62e2ab868746a25 SHA512 274e9a9436bad4036ea168d6acae8ff1a00a43edd2b183a6b06dc7ce2520e052fee5103a2c6215ed2375e12e341dcf6bbe3e0e8ca76b0bb7e6d583a20c39e14d WHIRLPOOL ca4b29f0d68ce022e6a0f3bbcf756f20615de5790fc7514eabbaff058498a81883e94daf67ed05c160cb662120031321e89e751d540253000c307073c4a3a977
diff --git a/dev-libs/libttdht/libttdht-0_p20140917.ebuild b/dev-libs/libttdht/libttdht-0_p20140917.ebuild
new file mode 100644
index 0000000..08ad74e
--- /dev/null
+++ b/dev-libs/libttdht/libttdht-0_p20140917.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+inherit autotools
+
+DESCRIPTION="BitTorrent library"
+HOMEPAGE="https://github.com/naihe2010/libttdht"
+SRC_URI="http://www.hartwork.org/public/${P}.tar.xz"
+
+LICENSE="GPL-2+ BSD" # BSD for queue.h
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-libs/openssl"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils"
+
+src_prepare() {
+ eautoreconf || die
+ rm -R win32 || die
+}
+
+src_install() {
+ default
+ mv "${D}"/include "${D}"/usr/include || die
+}
diff --git a/dev-libs/libttdht/metadata.xml b/dev-libs/libttdht/metadata.xml
new file mode 100644
index 0000000..16bcc9f
--- /dev/null
+++ b/dev-libs/libttdht/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>sping@gentoo.org</email>
+ <name>Sebastian Pipping</name>
+ </maintainer>
+</pkgmetadata>