summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/stack-bin/Manifest4
-rw-r--r--dev-haskell/stack-bin/stack-bin-2.1.3.ebuild48
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-haskell/stack-bin/Manifest b/dev-haskell/stack-bin/Manifest
index 2d19fac64936..a7311e4f2e4b 100644
--- a/dev-haskell/stack-bin/Manifest
+++ b/dev-haskell/stack-bin/Manifest
@@ -7,3 +7,7 @@ DIST stack-1.6.1-linux-x86_64.tar.gz 12989288 BLAKE2B 44625d81410bd80ea0879e639a
DIST stack-1.7.1-linux-arm.tar.gz 15818359 BLAKE2B 3493a09f7685acfa7fe7930c2a33d24c36b74ed345a3877967154a5d48b1d65a19dfaea07b3d5db2e2cd23189eff64f5f2efb1777d5aac891c9d1254df431235 SHA512 aee7da80a8d061c5cc61ce33f138ccc14c4fa1a1f2e12f75fe0f0ef77afe1a33bc631eae4caacdb8c200793719655c588bd31a35a168480eb31bce89cd0e4db2
DIST stack-1.7.1-linux-i386.tar.gz 13600712 BLAKE2B 1f5f2278f609aa5405b4be9726d1bd657bd3e409cb716ec07d7716bd1db4625283df708d84f465fb5a028c4467678c26fa0fb302d7e88c7d66b4e8f366481541 SHA512 02eeee457e5d62fe16cd610272ac504d226b680b944e1ab0cf03781838518f3afb41f486abdf254a042f931177ab4ecf01141b0d1cf1787ea938df113a51e5c7
DIST stack-1.7.1-linux-x86_64.tar.gz 14025122 BLAKE2B ea7c62ef9c4dee85016ef6b1868da3aa51abac4ab1cafff2a15636d92d4ab8fc5d6bcf501bfb40db0bf5b80c791bef2d970e620a326547502821b44e2c93bf9d SHA512 5746548abbc06cc84bb053d236ce41319b5cacca75ac66507318670b9ebed51dcf891eabb74111cc4544c38f0d3716dfb6a02ba06019ddc6399b41d1378199c5
+DIST stack-2.1.3-linux-aarch64.tar.gz 17019580 BLAKE2B ac176c211d2b4975f7dc8d57731909efe244684f2e54ce478a9260040fece05ff4135c13e89f25e44b64b7c35d18c8647ab63b11bb471024de01be0cb1b8d9cb SHA512 bd60dddfbbf9be22a35b25c4db01503f86e561b5cf79fab8c6ad162d557a248f9553ccc97de4b94f51ec3d9f31c3744d7b291edab3cce25321d6f8af8f5ddcc6
+DIST stack-2.1.3-linux-arm.tar.gz 16124790 BLAKE2B cb6f42576e938b3838e7db26fbc00b9b0f87cda937a26841e50f5164a0c1a1f91f7f6b4d435e59fa6b8c35ad4c1541d6bcabd4ed294a0cd423cef657911d730f SHA512 005a508e003992af47ffc591598e69ccba3ed1e96ce271c9f7a369b238d7e8e4d4850b1d4fc13a63a147e56692622364b6ea3d5c97708acc82a895e55ccbf938
+DIST stack-2.1.3-linux-i386.tar.gz 14128095 BLAKE2B b48d8765d4a6930450dbfeea488fe7c41392984375100a730fee1824a983abf1f35058d880a5ea983495052987a733b9548e199e34282c49c81c545373893ff3 SHA512 a0911eb8aa73711ca314ad456f9e0e58696fa0b4e38619b8293c0971496735fe002d2271498888acce3d454c4da1c0d36727e0ca9a722a0757d1c2c4ddc17982
+DIST stack-2.1.3-linux-x86_64.tar.gz 14510392 BLAKE2B 0b5d229a006813abfa38bdaa963c1d3bb206508a49c177bdaa0d5028ab16973e706a44844161dae6ad2ee7eaccbc96d9f83c31f6da9e11243f1b2ef4a4bd98f0 SHA512 c6a26558316804df34e467601bc34cde11dcf9995727bd437933a38ce5b6cb1afb4f035415914c23b9a8ad36568e2f0b6ee17a7bb0f80af45e25b016a6b927e6
diff --git a/dev-haskell/stack-bin/stack-bin-2.1.3.ebuild b/dev-haskell/stack-bin/stack-bin-2.1.3.ebuild
new file mode 100644
index 000000000000..189deee5218e
--- /dev/null
+++ b/dev-haskell/stack-bin/stack-bin-2.1.3.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="The Haskell Tool Stack (Binary)"
+HOMEPAGE="https://github.com/commercialhaskell/stack"
+
+uri() {
+ echo "https://github.com/commercialhaskell/stack/releases/download/v${PV}/stack-${PV}-linux-$1.tar.gz"
+}
+
+SRC_URI="
+ arm? ( $(uri arm) )
+ arm64? ( $(uri aarch64) )
+ x86? ( $(uri i386) )
+ amd64? ( $(uri x86_64) )
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="symlink"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ sys-libs/zlib
+ dev-libs/gmp:0
+"
+RDEPEND+=" symlink? ( !dev-haskell/stack )"
+
+S=${WORKDIR}
+
+QA_PREBUILT="/usr/bin/stack-bin"
+QA_PRESTRIPPED="/usr/bin/stack-bin"
+
+src_prepare() {
+ default
+
+ mv stack-${PV}-*/doc doc || die
+ mv stack-${PV}-*/stack stack-bin || die
+}
+
+src_install() {
+ dodoc -r doc/*
+ dobin stack-bin
+ use symlink && dosym stack-bin /usr/bin/stack
+}