mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Mark Wright <gienah@gentoo.org>
44 lines
1.5 KiB
Bash
44 lines
1.5 KiB
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
# ebuild generated by hackport 0.9.1.0
|
|
#hackport: flags: support_aesni:cpu_flags_x86_aes,+support_deepseq,support_pclmuldq:cpu_flags_x86_pclmul,support_rdrand:cpu_flags_x86_rdrand,support_sse:cpu_flags_x86_sse2
|
|
|
|
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
|
inherit haskell-cabal
|
|
|
|
DESCRIPTION="Cryptography Primitives sink"
|
|
HOMEPAGE="https://github.com/kazu-yamamoto/crypton"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0/${PV}"
|
|
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
|
IUSE="check-alignment cpu_flags_x86_aes cpu_flags_x86_pclmul cpu_flags_x86_rdrand cpu_flags_x86_sse2 +integer-gmp old-toolchain-inliner +target-attributes"
|
|
|
|
RDEPEND=">=dev-haskell/basement-0.0.6:=[profile?]
|
|
>=dev-haskell/memory-0.14.18:=[profile?]
|
|
>=dev-lang/ghc-9.0.2:=
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
>=dev-haskell/cabal-3.4.1.0
|
|
test? ( dev-haskell/tasty
|
|
dev-haskell/tasty-hunit
|
|
dev-haskell/tasty-kat
|
|
dev-haskell/tasty-quickcheck )
|
|
"
|
|
|
|
src_configure() {
|
|
haskell-cabal_src_configure \
|
|
$(cabal_flag check-alignment check_alignment) \
|
|
$(cabal_flag integer-gmp integer-gmp) \
|
|
$(cabal_flag old-toolchain-inliner old_toolchain_inliner) \
|
|
$(cabal_flag cpu_flags_x86_aes support_aesni) \
|
|
--flag=support_deepseq \
|
|
$(cabal_flag cpu_flags_x86_pclmul support_pclmuldq) \
|
|
$(cabal_flag cpu_flags_x86_rdrand support_rdrand) \
|
|
$(cabal_flag cpu_flags_x86_sse2 support_sse) \
|
|
$(cabal_flag target-attributes use_target_attributes)
|
|
}
|