diff options
author | Yixun Lan <dlan@gentoo.org> | 2018-03-01 17:25:08 +0800 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2018-03-01 18:27:30 +0800 |
commit | 4891aa998498b16c1741c138f4a42cb8056fb5f9 (patch) | |
tree | 689e0183b3ce7e9faaa0ed4bf4a1123883cfb797 /net-libs/libbloom | |
parent | app-editors/emacs-vcs: Drop spurious dependency on x11-libs/libXp. (diff) | |
download | gentoo-4891aa998498b16c1741c138f4a42cb8056fb5f9.tar.gz gentoo-4891aa998498b16c1741c138f4a42cb8056fb5f9.tar.bz2 gentoo-4891aa998498b16c1741c138f4a42cb8056fb5f9.zip |
net-libs/libbloom: add bloom fiter library
this library is used by shadowsocks-libev
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-libs/libbloom')
-rw-r--r-- | net-libs/libbloom/Manifest | 1 | ||||
-rw-r--r-- | net-libs/libbloom/libbloom-1.5.ebuild | 21 | ||||
-rw-r--r-- | net-libs/libbloom/metadata.xml | 11 |
3 files changed, 33 insertions, 0 deletions
diff --git a/net-libs/libbloom/Manifest b/net-libs/libbloom/Manifest new file mode 100644 index 000000000000..aa50a8b7ad30 --- /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 000000000000..665848c2f38d --- /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 000000000000..1cb3ccba0e35 --- /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>dlan@gentoo.org</email> + <name>Yixun Lan</name> + </maintainer> + <upstream> + <remote-id type="github">jvirkki/libbloom</remote-id> + </upstream> +</pkgmetadata> |