summaryrefslogtreecommitdiff
path: root/dev-haskell/stack-bin
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/stack-bin')
-rw-r--r--dev-haskell/stack-bin/Manifest9
-rw-r--r--dev-haskell/stack-bin/metadata.xml15
-rw-r--r--dev-haskell/stack-bin/stack-bin-1.5.1.ebuild47
-rw-r--r--dev-haskell/stack-bin/stack-bin-1.6.1.ebuild47
4 files changed, 118 insertions, 0 deletions
diff --git a/dev-haskell/stack-bin/Manifest b/dev-haskell/stack-bin/Manifest
new file mode 100644
index 000000000000..4dff09850e86
--- /dev/null
+++ b/dev-haskell/stack-bin/Manifest
@@ -0,0 +1,9 @@
+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
+EBUILD stack-bin-1.5.1.ebuild 870 BLAKE2B c3a93c6ea1d151494fcb6918a15c6bff779f779aa28f5124e38c6836c011fa562c39e942e51ad5e32feaa8546a193fe637c9b728572b5b4e9f5a385d6f92d152 SHA512 bbbfac5b50928ec39062251aafea28434b5ec8f0398270f4fbea2c922e1e0c5ab624da92cdb0b38f9d270a1ebb5e2e3d56ff7745f12784186280e95f14f07d45
+EBUILD stack-bin-1.6.1.ebuild 870 BLAKE2B c3a93c6ea1d151494fcb6918a15c6bff779f779aa28f5124e38c6836c011fa562c39e942e51ad5e32feaa8546a193fe637c9b728572b5b4e9f5a385d6f92d152 SHA512 bbbfac5b50928ec39062251aafea28434b5ec8f0398270f4fbea2c922e1e0c5ab624da92cdb0b38f9d270a1ebb5e2e3d56ff7745f12784186280e95f14f07d45
+MISC metadata.xml 569 BLAKE2B d9cd3865738b2e6d95ace1d13bc72f662a1aee4c77f0ffbcf844813a20e6287baf38cf0581c53b1ec492e42ef6307d6f7ab0e84e0ac2019765a574e85cd52276 SHA512 2e325913852f2545fb617c68310a4071c8e40e3ed4e0fe275db89ff76e3bcea47ed4cd1e8e6dabb7623659bb8402a162d6e247eeefd4d4ef7a03b1a4f6cb98d8
diff --git a/dev-haskell/stack-bin/metadata.xml b/dev-haskell/stack-bin/metadata.xml
new file mode 100644
index 000000000000..d702142876ff
--- /dev/null
+++ b/dev-haskell/stack-bin/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <longdescription>
+ Please see the README.md for usage information, and
+ the wiki on Github for more details. Also, note that
+ the API for the library is not currently stable, and may
+ change significantly, even between minor releases. It is
+ currently only intended for use by the executable.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-haskell/stack-bin/stack-bin-1.5.1.ebuild b/dev-haskell/stack-bin/stack-bin-1.5.1.ebuild
new file mode 100644
index 000000000000..5638974f850a
--- /dev/null
+++ b/dev-haskell/stack-bin/stack-bin-1.5.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
+}
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 000000000000..5638974f850a
--- /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
+}