38 lines
933 B
Bash
38 lines
933 B
Bash
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
SUMMARY="cabal-install is the command line interface to Cabal and hackage"
|
|
HOMEPAGE="https://www.haskell.org/cabal/"
|
|
DOWNLOADS="https://downloads.haskell.org/~debian/pool/main/c/cabal-install-2.4/cabal-install-2.4_2.4%2Bgit20180920.1.60e200d-6~deb9_amd64.deb"
|
|
|
|
LICENCES="BSD-3"
|
|
SLOT="0"
|
|
PLATFORMS="-* ~amd64"
|
|
MYOPTIONS=""
|
|
|
|
DEPENDENCIES="
|
|
run:
|
|
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
|
|
!dev-haskell/cabal-install [[
|
|
description = [ Both install the same binary ]
|
|
resolution = uninstall-blocked-after
|
|
]]
|
|
recommendation:
|
|
virtual/GHC
|
|
"
|
|
|
|
BUGS_TO="hasufell@posteo.de"
|
|
|
|
WORK=${WORKBASE}
|
|
|
|
src_unpack() {
|
|
default
|
|
unpack ./data.tar.xz
|
|
}
|
|
|
|
src_install() {
|
|
dobin opt/cabal/2.4/bin/cabal
|
|
doman opt/cabal/2.4/share/man/man1/*
|
|
}
|
|
|