aboutsummaryrefslogtreecommitdiff
blob: 095d336d6a956f3af3d86920c413d69689ff75a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

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
}