Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=4641c39a62889f371b7c0d2530487c2c76aa341e

commit 4641c39a62889f371b7c0d2530487c2c76aa341e
Author: kikadf <[email protected]>
Date:   Thu May 8 11:23:25 2014 +0200

ghc-7.8.2-1-x86_64

* Version bump

diff --git a/source/devel-extra/ghc/FrugalBuild 
b/source/devel-extra/ghc/FrugalBuild
index 54542db..3867fc6 100644
--- a/source/devel-extra/ghc/FrugalBuild
+++ b/source/devel-extra/ghc/FrugalBuild
@@ -1,34 +1,22 @@
# Compiling Time: 30.17 SBU
# Maintainer: Miklos Vajna <[email protected]>

+options+=('asneeded')
+
pkgname=ghc
-pkgver=7.8.1
+pkgver=7.8.2
pkgrel=1
pkgdesc="The Glasgow Haskell Compiler"
url="http://www.haskell.org/ghc/";
depends=('gmp>=5.0.1' 'readline' 'libedit' 'libffi')
-makedepends=('docbook-xsl') # 'ghc') # like in Arch Linux
+makedepends=('docbook-xsl' 'ghc')
groups=('devel-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump $url/dist/ | sed -n 's/.*dist\/\([0-9].*\)\/.*/\1/p' | tail 
-1"
source=(http://www.haskell.org/ghc/dist/$pkgver/ghc-$pkgver-src.tar.xz build.mk)
-sha1sums=('d08c9e1b2252cbb6c6032d13a1860831ac15cb7f' \
+sha1sums=('fe86ae790b7e8e5b4c78db7a914ee375bc6d9fc3' \
'a5e2b8d920a8af597c948f6917c0cfc90f779a22')

-# Need ghc>=7.4 for build, we have 7.0.x, so use ghc-binary
-if [ "$CARCH" == "i686" ]; then
-       _arch=i386
-       else
-       _arch=$CARCH
-fi
-source+=(http://www.haskell.org/ghc/dist/7.6.3/ghc-7.6.3-$_arch-unknown-linux.tar.bz2)
-if [ "$CARCH" == "i686" ]; then
-       sha1sums+=('f042b4171a2d4745137f2e425e6949c185f8ea14')
-elif [ "$CARCH" == "x86_64" ]; then
-       sha1sums+=('46ec3f3352ff57fba0dcbc8d9c20f7bcb6924b77')
-fi
-# **********************************************************
-
replaces=('haskell-transformers' 'haskell-xhtml' 'haskell-array'
'haskell-binary' 'haskell-containers' 'haskell-deepseq'
'haskell-haskeline' 'haskell-terminfo')
@@ -37,17 +25,6 @@ provides=("${provides[@]}")

build()
{
-       # First build binary ghc
-       cd $pkgname-7.6.3 || Fdie
-       ln -s /usr/lib/libgmp.so.10 libgmp.so.3
-       export LD_LIBRARY_PATH=$(pwd):$LD_LIBRARY_PATH
-       ./configure --prefix=$Fsrcdir/binary || Fdie
-       make install || Fdie
-       export PATH=$Fsrcdir/binary/bin:$PATH
-       cd ..
-       # **********************
-
-       # Build ghc
_F_conf_notry="build"
cp build.mk $pkgname-$pkgver/mk/build.mk || Fdie
Fbuild
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to