mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 00:08:05 +03:00
36 lines
985 B
Bash
36 lines
985 B
Bash
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/bloomfilter/bloomfilter-2.0.0.0.ebuild,v 1.2 2015/04/05 05:21:29 gienah Exp $
|
|
|
|
EAPI=5
|
|
|
|
# ebuild generated by hackport 0.4.2.9999
|
|
|
|
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
|
inherit haskell-cabal
|
|
|
|
DESCRIPTION="Pure and impure Bloom Filter implementations"
|
|
HOMEPAGE="https://github.com/bos/bloomfilter"
|
|
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0/${PV}"
|
|
KEYWORDS="~amd64 ~x86 ~amd64-linux"
|
|
IUSE=""
|
|
|
|
RDEPEND=">=dev-lang/ghc-7.4.1:=
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
>=dev-haskell/cabal-1.8
|
|
test? ( >=dev-haskell/quickcheck-2.5
|
|
dev-haskell/random
|
|
dev-haskell/test-framework
|
|
dev-haskell/test-framework-quickcheck2 )
|
|
"
|
|
|
|
src_prepare() {
|
|
sed -e 's@LANGUAGE @LANGUAGE FlexibleContexts, @' \
|
|
-i "${S}/Data/BloomFilter/Hash.hs" \
|
|
"${S}/Data/BloomFilter/Mutable.hs" || die
|
|
}
|