2014-07-09 20:19:28 +02:00
|
|
|
# Template file for 'cabal-install'
|
|
|
|
pkgname=cabal-install
|
2015-06-18 13:12:57 +02:00
|
|
|
version=1.22.6.0
|
2015-06-17 12:00:07 +02:00
|
|
|
revision=1
|
2015-06-18 13:12:57 +02:00
|
|
|
hostmakedepends="ghc curl"
|
2014-07-09 20:19:28 +02:00
|
|
|
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-18 13:12:57 +02:00
|
|
|
checksum=9d239e385696a7faa49f068aea451882baec6a7df26fbddbd08271c9053cb0b4
|
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
|
|
|
}
|