void-packages/srcpkgs/cabal-install/template

23 lines
664 B
Text
Raw Normal View History

2014-07-09 18:19:28 +00:00
# Template file for 'cabal-install'
pkgname=cabal-install
2014-07-20 17:15:17 +00:00
version=1.20.0.3
2014-07-09 18:19:28 +00:00
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"
2014-07-20 17:15:17 +00:00
checksum=d2bd56f3bcae92b7b97325be5216f94544fbcb30e10e24b40bccc149584b0b14
2014-07-09 18:19:28 +00:00
do_build() {
2014-11-23 13:10:15 +00:00
PREFIX=$PWD/build sh bootstrap.sh --user
2014-07-09 18:19:28 +00:00
}
do_install() {
2014-11-23 13:10:15 +00:00
vbin build/bin/cabal
vlicense LICENSE
2014-07-09 18:19:28 +00:00
}