summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-12-14 22:20:10 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-12-14 22:20:18 +0000
commit70fe80ec34552e0c9b00ff2e7ab31fe6d998780a (patch)
treed0c629f99a2f4e91597cd435dd56c5c27d6d5cb5 /dev-haskell
parentdev-libs/libg15render: Update homepage (diff)
downloadgentoo-70fe80ec34552e0c9b00ff2e7ab31fe6d998780a.tar.gz
gentoo-70fe80ec34552e0c9b00ff2e7ab31fe6d998780a.tar.bz2
gentoo-70fe80ec34552e0c9b00ff2e7ab31fe6d998780a.zip
dev-haskell/stack-bin: bump up to 1.6.1
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/stack-bin/Manifest3
-rw-r--r--dev-haskell/stack-bin/stack-bin-1.6.1.ebuild47
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-haskell/stack-bin/Manifest b/dev-haskell/stack-bin/Manifest
index f4197572d2c..1070fba2543 100644
--- a/dev-haskell/stack-bin/Manifest
+++ b/dev-haskell/stack-bin/Manifest
@@ -1,3 +1,6 @@
DIST stack-1.5.1-linux-arm.tar.gz 16542317 BLAKE2B 73a5bd6d6b09b67fea3edaf1a37e31f26afca2026e5fa6fc00639f0fdfd30af39b947261abf9fd21d30627b803de2ccd181f87c5f0f2b8253537ba869c10be21 SHA512 efb3d8eff4b4f8381364ab397298c6879e4ef3f6cdba799306696f961031f31e301b68f140624f0b6e7a0cb5d2bba02eb953203c1b7ab4a6a42d6368c8b39a29
DIST stack-1.5.1-linux-i386.tar.gz 11546331 BLAKE2B e49aa708887fcf94e7990b1a8a8dd0e3c4b9fdf7ebbf0ce787c8334d6f81886c3518e5d9c997ad0ecde558e210abcaed7c8471a5348eda16f0dcdf70000232c1 SHA512 f8b640d74ab013426a60d3bc6a8a190acad48439e7e80c33517c5904cf818e9d988e7b84dcd0fba15e24013887849c3d56ab7655a4bb549ee292058a00f14e12
DIST stack-1.5.1-linux-x86_64.tar.gz 11788896 BLAKE2B 379c31e6afe179e23cca928f9c3163b57e8ef8dfd4f9ac77a7cb4f4f898c2d47d846adab1c35a2637eac04ca0a066ade805e34952e7da8afa2a0edd72238a782 SHA512 837190e769e33d95a7f7d105884b82fb1ace47d84534c017ba44019d8a5335728d13f1e6c5a3591ee542172734ae2ed49d2f9ab3f19b25963a01d001fc24f1b3
+DIST stack-1.6.1-linux-arm.tar.gz 16560843 BLAKE2B 863e519ba19dd59dd08485b377e42e73554de1d548f4e26d4ebf175ca1cc06ed4b75c66bc798a88b5086eaa5e3552994c054edc29de760b5b477c3123f508df4 SHA512 4db9d962af8765ede290b5ebdb6c66a164f513ebfc05db715cd4dca70cad79846e17a48027ecce008939ecbf645d643f9497a4d53fe4d76a82ca94876a800fae
+DIST stack-1.6.1-linux-i386.tar.gz 12623620 BLAKE2B 2db8c645ab6b8ff70a469c70cbf15d252c7d30d302c8dcc1f017129f297231e358a9764f188b03b7b914ba22a15339e72a6e639397879cd8a331ce44a047f112 SHA512 8f2998a6b2f9b4764f14520ecf0c02225513c4bda7d7442e97c5595bf09a6fc09c15a45de0d096a563b4a3705f4b2d1fbf6bf9b771db52991d61134319074642
+DIST stack-1.6.1-linux-x86_64.tar.gz 12989288 BLAKE2B 44625d81410bd80ea0879e639a5b49d369939e3e3e01751061f25a5ce516ef3938e7b44f367be6851c77ae562a6846328bc9708a698b4417e5d215bffa584944 SHA512 dbd07448fa06e2020651be1dcdb39b383dfa6d207fbc9c63ac7744f3055416020fbe6b26203c43668fad01a8036237da84778057486b1edeec32f7eb66b2239e
diff --git a/dev-haskell/stack-bin/stack-bin-1.6.1.ebuild b/dev-haskell/stack-bin/stack-bin-1.6.1.ebuild
new file mode 100644
index 00000000000..5638974f850
--- /dev/null
+++ b/dev-haskell/stack-bin/stack-bin-1.6.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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) )
+ x86? ( $(uri i386) )
+ amd64? ( $(uri x86_64) )
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~arm"
+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 doc/*
+ dobin stack-bin
+ use symlink && dosym stack-bin /usr/bin/stack
+}