New package: cabal-install-1.20.0.2

This commit is contained in:
Christian Neukirchen 2014-07-09 20:19:28 +02:00
parent d9210967df
commit 91875a91de

View file

@ -0,0 +1,22 @@
# Template file for 'cabal-install'
pkgname=cabal-install
version=1.20.0.2
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=84b654651e0eab2b9f76fe9760ebb999e642de4325cc23d5ede2514827464cdb
do_build() {
PREFIX=$PWD/build sh bootstrap.sh --user
}
do_install() {
vbin build/bin/cabal
vlicense LICENSE
}