void-packages/srcpkgs/cabal-install/template
2015-03-22 18:01:42 +01:00

22 lines
664 B
Bash

# Template file for 'cabal-install'
pkgname=cabal-install
version=1.22.2.0
revision=1
hostmakedepends="ghc which curl"
makedepends="gmp-devel libffi-devel zlib-devel"
depends="ghc"
short_desc="Command-line interface for Cabal and Hackage"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="custom"
homepage="http://hackage.haskell.org/package/cabal-install"
distfiles="http://hackage.haskell.org/packages/archive/$pkgname/$version/$pkgname-$version.tar.gz"
checksum=25bc2ea88f60bd0f19bf40984ea85491461973895480b8633d87f54aa7ae6adb
do_build() {
PREFIX=$PWD/build sh bootstrap.sh --user
}
do_install() {
vbin build/bin/cabal
vlicense LICENSE
}