void-packages/srcpkgs/cabal-install/template

23 lines
664 B
Bash
Raw Normal View History

2014-07-09 20:19:28 +02:00
# Template file for 'cabal-install'
pkgname=cabal-install
2015-04-21 11:35:33 +02:00
version=1.22.3.0
2014-07-09 20:19:28 +02: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"
2015-04-21 11:35:33 +02:00
checksum=28554eb6875ef54ee27edd1ec2272d7be58bf670504faec19838a8a5a0f88b4c
2014-07-09 20:19:28 +02:00
do_build() {
2014-11-23 14:10:15 +01:00
PREFIX=$PWD/build sh bootstrap.sh --user
2014-07-09 20:19:28 +02:00
}
do_install() {
2014-11-23 14:10:15 +01:00
vbin build/bin/cabal
vlicense LICENSE
2014-07-09 20:19:28 +02:00
}