void-packages/srcpkgs/cabal-install/template
Christian Neukirchen 39790c8b3f cabal-install: xlint.
2014-11-23 14:10:15 +01:00

22 lines
664 B
Text

# Template file for 'cabal-install'
pkgname=cabal-install
version=1.20.0.3
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=d2bd56f3bcae92b7b97325be5216f94544fbcb30e10e24b40bccc149584b0b14
do_build() {
PREFIX=$PWD/build sh bootstrap.sh --user
}
do_install() {
vbin build/bin/cabal
vlicense LICENSE
}