ghc: 8.0.1 -> 8.2.1

This commit is contained in:
Danny Rawlins 2017-10-15 16:16:13 +11:00
parent 69e5fe609c
commit d7f431bbda
4 changed files with 3995 additions and 3517 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1 +1 @@
c185b8a1f3e67e43533ec590b751c2ff ghc-8.0.1-src.tar.xz
8942b6fb393984aeb8304d09bc326851 ghc-8.2.1-src.tar.xz

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF35IERi7c3Ii6iYrpdBaGJndUNmaoFZZuVhCtu1m8J+LVQPgoY1BjquWS8zQ0i8OA6rUHQ5UWKy93Q/5hL4+FyQY=
SHA256 (Pkgfile) = d8f62510fb8cb52037b92b6d1b1acc08f75472ef76294a507df27f0edcc1775d
SHA256 (.footprint) = 82da7022ba053ab4346dd0fb7304b59d5773b5cbe497e7a03bdf33fed32323e6
SHA256 (ghc-8.0.1-src.tar.xz) = 90fb20cd8712e3c0fbeb2eac8dab6894404c21569746655b9b12ca9684c7d1d2
RWSagIOpLGJF34fgSTfbMH254wuKpytbHqAasMCO5GKTYDLW3jWt6HtwoLZCMgMRNfJFz59noqIBfTzstelJw2Mw/x1EZxrMRwk=
SHA256 (Pkgfile) = 5fb3bc0b65f6131425d7809786a344e54d888a951001d2d08ffbc1d42814864f
SHA256 (.footprint) = 4ff31b8a98f645c1ba2c21f5101c0fded15b94ac31494f1e72592651d0c1e528
SHA256 (ghc-8.2.1-src.tar.xz) = cfc2d496708dacea3ea7dde4c6a4b921b97a7f550ee2acea44cfa535840593f0

View File

@ -5,8 +5,10 @@
# Depends on: docbook-xsl libedit libffi libgmp readline
name=ghc
version=8.0.1
version=8.2.1
release=1
_bootstrapsum=88ea8d351cf1ed7d93ac6618c8114d08c6402676fe9b7cd8d02dc1365cb52fd1
#curl -s http://downloads.haskell.org/~ghc/$version/SHA256SUMS | grep ./ghc-$version-x86_64-centos67-linux.tar.xz | cut -d' ' -f1
source=(https://downloads.haskell.org/~ghc/$version/$name-$version-src.tar.xz)
build() {
@ -18,6 +20,11 @@ build() {
wget http://downloads.haskell.org/~ghc/$version/$name-$version-x86_64-centos67-linux.tar.xz \
--output-document="$PKGMK_SOURCE_DIR/$name-$version-x86_64-centos67-linux.tar.xz"
if [ $_bootstrapsum != $(sha256sum "$PKGMK_SOURCE_DIR/$name-$version-x86_64-centos67-linux.tar.xz" | cut -d' ' -f1) ]; then
echo "Error Bootstrap file $PKGMK_SOURCE_DIR/$name-$version-x86_64-centos67-linux.tar.xz failed sha256sum"
exit 1
fi
fi
install -d tmp