2014-07-09 18:02:07 +00:00
|
|
|
# Template file for 'ghc'
|
|
|
|
pkgname=ghc
|
|
|
|
version=7.8.2
|
2014-07-10 20:05:29 +00:00
|
|
|
revision=2
|
2014-07-09 18:02:07 +00:00
|
|
|
only_for_archs="i686 x86_64"
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--with-system-libffi"
|
|
|
|
hostmakedepends="ghc-bin docbook-xsl libxslt"
|
|
|
|
makedepends="libffi-devel gmp-devel ncurses-devel"
|
2014-07-10 20:05:29 +00:00
|
|
|
depends="gcc libffi-devel gmp-devel"
|
2014-07-09 18:02:07 +00:00
|
|
|
short_desc="Glorious Haskell Compiler"
|
|
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
|
|
license="custom"
|
|
|
|
homepage="http://www.haskell.org/ghc/"
|
|
|
|
distfiles="http://www.haskell.org/ghc/dist/$version/$pkgname-$version-src.tar.xz"
|
|
|
|
checksum=45d1e1a6edee34a7760ae9bfd8decf13a3f43de87309ff277f5a08fc51fa7e96
|
|
|
|
|
|
|
|
post_install() {
|
2014-07-10 20:05:29 +00:00
|
|
|
sed -i 's#/usr/lib/ccache/bin/##g' ${DESTDIR}/usr/lib/ghc-${version}/settings
|
|
|
|
vlicense LICENSE
|
2014-07-09 18:02:07 +00:00
|
|
|
}
|