From 1b649b814c8c31e9cfba8be21859076bde40f086 Mon Sep 17 00:00:00 2001 From: "build@apk-groulx" Date: Wed, 10 Jul 2019 20:18:34 +0000 Subject: [PATCH] Added ghc-static-8.6.5-r2 --- apk/ghc-static/APKBUILD | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 apk/ghc-static/APKBUILD diff --git a/apk/ghc-static/APKBUILD b/apk/ghc-static/APKBUILD new file mode 100644 index 0000000..2bac7b0 --- /dev/null +++ b/apk/ghc-static/APKBUILD @@ -0,0 +1,22 @@ +# Maintainer: Mitch Tishmack +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" +}