commit:     4891aa998498b16c1741c138f4a42cb8056fb5f9
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  1 09:25:08 2018 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Mar  1 10:27:30 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4891aa99

net-libs/libbloom: add bloom fiter library

this library is used by shadowsocks-libev

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-libs/libbloom/Manifest            |  1 +
 net-libs/libbloom/libbloom-1.5.ebuild | 21 +++++++++++++++++++++
 net-libs/libbloom/metadata.xml        | 11 +++++++++++
 3 files changed, 33 insertions(+)

diff --git a/net-libs/libbloom/Manifest b/net-libs/libbloom/Manifest
new file mode 100644
index 00000000000..aa50a8b7ad3
--- /dev/null
+++ b/net-libs/libbloom/Manifest
@@ -0,0 +1 @@
+DIST libbloom-1.5.tar.gz 1210081 BLAKE2B 
8af463c487c2898c5a4cf3f7541490e2b069d4667ccda4b536f347535be5c7f5664c8ee17e0789ac5325feb8f325ae30a89e2de34323962e89378724cf130a84
 SHA512 
0dd69e3ee102e5808ba4350c71d212876db56235e263f8d5a66d6c3616d2e51cc18b5ca3a5a946d79c12751d9cc5667f7c633d77645c4b88a4d16ea344b51929

diff --git a/net-libs/libbloom/libbloom-1.5.ebuild 
b/net-libs/libbloom/libbloom-1.5.ebuild
new file mode 100644
index 00000000000..665848c2f38
--- /dev/null
+++ b/net-libs/libbloom/libbloom-1.5.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A simple and small bloom filter implementation in plain C."
+HOMEPAGE="https://github.com/jvirkki/libbloom";
+SRC_URI="https://github.com/jvirkki/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_install() {
+       doheader bloom.h
+       dolib.so build/${PN}.so*
+}

diff --git a/net-libs/libbloom/metadata.xml b/net-libs/libbloom/metadata.xml
new file mode 100644
index 00000000000..1cb3ccba0e3
--- /dev/null
+++ b/net-libs/libbloom/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Yixun Lan</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">jvirkki/libbloom</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to