forked from hasufell/hasufell-repository
dev-haskell/ghcup: package new ghcup, rm old scm
This commit is contained in:
parent
182a3f02c6
commit
0a9e434c93
@ -1,6 +1,5 @@
|
|||||||
(
|
(
|
||||||
app-editors/neovim-gtk[~scm]
|
app-editors/neovim-gtk[~scm]
|
||||||
dev-haskell/ghcup[~scm]
|
|
||||||
dev-lang/fsharp[~scm]
|
dev-lang/fsharp[~scm]
|
||||||
dev-lang/fstar[~scm]
|
dev-lang/fstar[~scm]
|
||||||
dev-python/pytype[~scm]
|
dev-python/pytype[~scm]
|
||||||
|
33
packages/dev-haskell/ghcup/ghcup-0.1.4.exheres-0
Normal file
33
packages/dev-haskell/ghcup/ghcup-0.1.4.exheres-0
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
SUMMARY="Painless installation of GHC toolchain"
|
||||||
|
HOMEPAGE="https://www.haskell.org/ghcup/ https://gitlab.haskell.org/haskell/ghcup-hs"
|
||||||
|
DOWNLOADS="
|
||||||
|
platform:amd64? ( https://downloads.haskell.org/~ghcup/${PV}/x86_64-linux-ghcup-${PV} )
|
||||||
|
platform:x86? ( https://downloads.haskell.org/~ghcup/${PV}/i386-linux-ghcup-${PV} )
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENCES="LGPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
PLATFORMS="~amd64 ~x86"
|
||||||
|
MYOPTIONS="
|
||||||
|
platform: amd64 x86
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPENDENCIES="
|
||||||
|
run:
|
||||||
|
net-misc/curl
|
||||||
|
"
|
||||||
|
|
||||||
|
BUGS_TO="hasufell@posteo.de"
|
||||||
|
|
||||||
|
WORK=${WORKBASE}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
edo mv "${FETCHEDDIR}/${ARCHIVES}" ghcup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin ghcup
|
||||||
|
}
|
@ -1,38 +0,0 @@
|
|||||||
# 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
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user