2014-07-09 20:19:28 +02:00
|
|
|
# Template file for 'cabal-install'
|
|
|
|
pkgname=cabal-install
|
2015-05-06 14:39:04 +02:00
|
|
|
version=1.22.4.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-05-06 14:39:04 +02:00
|
|
|
checksum=80c7a7686c7556a5c9e7be538f3f274bbf36316c7ebd63e61f609a2603d08f63
|
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
|
|
|
}
|