Added ghc-static-8.6.5-r2

This commit is contained in:
build@apk-groulx 2019-07-10 20:18:34 +00:00
parent 9374a05acc
commit 1b649b814c

22
apk/ghc-static/APKBUILD Normal file
View file

@ -0,0 +1,22 @@
# Maintainer: Mitch Tishmack <mitch.tishmack@gmail.com>
pkgname=ghc-static
pkgver=8.6.5
pkgrel=2
pkgdesc="The Glasgow Haskell Compiler"
url="http://haskell.org"
arch="x86_64"
license="BSD-3-Clause"
depends="gmp-dev perl gcc>=6.2.1 llvm5 libffi-dev"
makedepends="perl alpine-sdk bash"
provides="ghc"
subpackages="$pkgname-dev $pkgname-doc"
options="!strip" # we strip it manually in build()
source="https://github.com/redneb/ghc-alt-libc/releases/download/ghc-${pkgver}-musl/ghc-${pkgver}-x86_64-unknown-linux-musl.tar.xz"
builddir="$srcdir/ghc-${pkgver}"
package() {
cd $builddir
./configure --prefix="/usr"
make install DESTDIR="$pkgdir"
}