forked from hasufell/hasufell-repository
39 lines
907 B
Bash
39 lines
907 B
Bash
|
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
require github [ user=haskell ]
|
||
|
|
||
|
SUMMARY="Painless installation of GHC toolchain"
|
||
|
HOMEPAGE="https://www.haskell.org/ghcup/ ${HOMEPAGE}"
|
||
|
|
||
|
LICENCES="BSD-3"
|
||
|
SLOT="0"
|
||
|
PLATFORMS="~amd64 ~x86"
|
||
|
|
||
|
|
||
|
DEPENDENCIES="
|
||
|
run:
|
||
|
app-arch/gzip
|
||
|
app-arch/tar
|
||
|
app-arch/xz
|
||
|
net-misc/curl
|
||
|
sys-apps/coreutils
|
||
|
virtual/awk
|
||
|
suggestion:
|
||
|
net-misc/wget [[ description = [ alternative downloader ] ]]
|
||
|
recommendation:
|
||
|
(
|
||
|
dev-lang/llvm[>=2.7]
|
||
|
dev-lang/perl:*[>=5.6.1]
|
||
|
dev-libs/gmp[>=5]
|
||
|
dev-libs/libffi
|
||
|
) [[ *description = [ Dependency for GHC ] *group-name = [ ghc-deps ] ]]
|
||
|
"
|
||
|
|
||
|
BUGS_TO="hasufell@posteo.de"
|
||
|
|
||
|
src_install() {
|
||
|
dobin ghcup
|
||
|
emagicdocs
|
||
|
}
|