commit:     d8a273c697d773750bbb4686f1ee40fc077bc694
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Fri May  1 21:45:09 2015 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Fri May  1 21:45:09 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=d8a273c6

sci-libs/bloom: new package

Package-Manager: portage-2.2.18

 sci-libs/bloom/ChangeLog         |  9 +++++++++
 sci-libs/bloom/bloom-9999.ebuild | 28 ++++++++++++++++++++++++++++
 sci-libs/bloom/metadata.xml      |  9 +++++++++
 3 files changed, 46 insertions(+)

diff --git a/sci-libs/bloom/ChangeLog b/sci-libs/bloom/ChangeLog
new file mode 100644
index 0000000..915cec2
--- /dev/null
+++ b/sci-libs/bloom/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sci-libs/bloom
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*bloom-9999 (01 May 2015)
+
+  01 May 2015; Martin Mokrejs <mmokr...@fold.natur.cuni.cz> +bloom-9999.ebuild,
+  +metadata.xml:
+  sci-libs/bloom: new package

diff --git a/sci-libs/bloom/bloom-9999.ebuild b/sci-libs/bloom/bloom-9999.ebuild
new file mode 100644
index 0000000..a60b7ba
--- /dev/null
+++ b/sci-libs/bloom/bloom-9999.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+[ "$PV" == "9999" ] && inherit subversion
+
+DESCRIPTION="C++ Bloom Filter Library"
+HOMEPAGE="https://code.google.com/p/bloom";
+if [ "$PV" == "9999" ]; then
+       ESVN_REPO_URI="http://bloom.googlecode.com/svn/trunk";
+else
+       SRC_URI=""
+fi
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_prepare(){
+       sed -e "s#-c++#$(tc-getCC)#;s#-O3#${CXXFLAGS}#" -i Makefile || die
+       sed -e "s#-pedantic-errors -ansi -Wall -Wextra -Werror 
-Wno-long-long##" -i Makefile || die
+}

diff --git a/sci-libs/bloom/metadata.xml b/sci-libs/bloom/metadata.xml
new file mode 100644
index 0000000..2bc8930
--- /dev/null
+++ b/sci-libs/bloom/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <herd>sci-biology</herd>
+  <maintainer>
+    <email>mmokr...@fold.natur.cuni.cz</email>
+    <name>Martin Mokrejs</name>
+  </maintainer>
+</pkgmetadata>

Reply via email to