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-06-17 12:00:07 +02:00
version=1.22.5.0
revision=1
2014-07-09 20:19:28 +02:00
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-06-17 12:00:07 +02:00
checksum=1f7de0ab2c32eab87c4a2e878444750e6a20f39ec93c733eb84b280a6e939642
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
}