22 lines
664 B
Bash
22 lines
664 B
Bash
# Template file for 'cabal-install'
|
|
pkgname=cabal-install
|
|
version=1.22.4.0
|
|
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=80c7a7686c7556a5c9e7be538f3f274bbf36316c7ebd63e61f609a2603d08f63
|
|
|
|
do_build() {
|
|
PREFIX=$PWD/build sh bootstrap.sh --user
|
|
}
|
|
|
|
do_install() {
|
|
vbin build/bin/cabal
|
|
vlicense LICENSE
|
|
}
|