21 lines
722 B
Bash
21 lines
722 B
Bash
# Template file for 'ghc'
|
|
pkgname=ghc
|
|
version=7.8.4
|
|
revision=1
|
|
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"
|
|
depends="perl gcc libffi-devel gmp-devel"
|
|
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=c319cd94adb284177ed0e6d21546ed0b900ad84b86b87c06a99eac35152982c4
|
|
|
|
post_install() {
|
|
sed -i 's#/usr/lib/ccache/bin/##g' ${DESTDIR}/usr/lib/ghc-${version}/settings
|
|
vlicense LICENSE
|
|
}
|