2009-10-10 02:23:22 +00:00
|
|
|
# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org>
|
2009-11-27 06:21:46 +00:00
|
|
|
|
2009-10-10 02:23:22 +00:00
|
|
|
pkgname=ghc
|
|
|
|
pkgver=6.10.4
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="The Glasgow Haskell Compiler"
|
2009-11-27 06:21:46 +00:00
|
|
|
arch=('arm')
|
2009-10-10 02:23:22 +00:00
|
|
|
url="http://www.haskell.org/ghc/"
|
|
|
|
license=("custom")
|
|
|
|
depends=(gmp)
|
|
|
|
makedepends=(ghc happy perl)
|
|
|
|
provides=(haskell-cabal)
|
|
|
|
replaces=("haskell-cabal<1.6.0.3")
|
|
|
|
backup=(usr/lib/ghc-6.10.4/package.conf)
|
|
|
|
install=(ghc.install)
|
|
|
|
|
|
|
|
source=("http://www.haskell.org/ghc/dist/stable/dist/$pkgname-$pkgver-src.tar.bz2" \
|
|
|
|
"http://www.haskell.org/ghc/dist/stable/dist/$pkgname-$pkgver-src-extralibs.tar.bz2"
|
|
|
|
build.mk ghc.install)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
|
|
|
|
|
|
cp $startdir/build.mk mk/build.mk
|
|
|
|
|
|
|
|
./configure --prefix=/usr
|
|
|
|
make -j2 || return 1
|
|
|
|
make DESTDIR=$startdir/pkg install
|
|
|
|
|
|
|
|
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/ghc/license
|
|
|
|
}
|
|
|
|
|
|
|
|
md5sums=('167687fa582ef6702aaac24e139ec982'
|
|
|
|
'37ce285617d7cebabc3cf6805bdbca25'
|
|
|
|
'a05681b982aad44cc6770bd021e35b67'
|
|
|
|
'd03bca6b591043c0fe996d72dd448919')
|