DIST HsOpenSSL-0.10.4.tar.gz 67538 SHA256 59603bfbc06139aa097767bc31fb049cf042889e2e3d9083719e7227476df1ee SHA512 ab26d19a196ee299763c4a0953e5b805c9f34f9f6b8502562812e597cfdfa07bccfec08919682ce90aa3022144133ba609346139734fbfe89a42f7a6aba939e7 WHIRLPOOL 20682a15364f67e8d4cde6d3556ccde0fea56e58ed0a737c153ce629afb86b370bd716cdc4d679c95e5abc1339f85d6fbf22341c840d0673526a6c1d64c26e98
DIST HsOpenSSL-0.11.1.1.tar.gz 72297 SHA256 4a61e074e968a9863e0f3440b3be8ac131457b3d34eb983ca8102122d8ebc4c1 SHA512 a7260bb47a4886e550fce71f83f1d9ab93e54fb40886b618f86db191651f95beeac30334d58ab10ab084bfcf9ff8a1b994254c13c09e678dae3b23a12b279541 WHIRLPOOL c546530e0f4a0db23773b52681b66ecb703bec5a50b21626a04d6e7afa13eab5fd037601df16d45a2c96f0c56f5ba5fb2fabca3cdae05f99ca892cb538b6c3ea
+DIST HsOpenSSL-0.11.4.tar.gz 77764 SHA256 6326b9b1fb07e05a72f8435cc3ae777d696251e43e93b25ec2ff513f7f2bed07 SHA512 be67eec8af517bec360618883bdce1ed195bf11361ae7cad372a50cc135f0e1825a86cc581a5e94375ad85cc163553270d5c431e2a03a6a4b80dc03b027fdcac WHIRLPOOL 2edaa9fcafd5aa9512a46f6f40b6355b75606a3908f213b0a318f1d8121d23fdcf630dfcea0f440d3734d2309a2ed40a8605d2039201cdb457cdb42e9441df5b
--- /dev/null
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.1.9999
+#hackport: flags: -homebrew-openssl,-macports-openssl
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+MY_PN="HsOpenSSL"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Partial OpenSSL binding for Haskell"
+HOMEPAGE="https://github.com/vshabanov/HsOpenSSL"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="libressl"
+
+RESTRICT=test # whoops, not good
+
+RDEPEND=">=dev-haskell/network-2.1:=[profile?] <dev-haskell/network-2.7:=[profile?]
+ >=dev-lang/ghc-7.10.1:=
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:= )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.22.2.0
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-homebrew-openssl \
+ --flag=-macports-openssl
+}