23 lines
717 B
Bash
23 lines
717 B
Bash
# Template file for 'cabal-install'
|
|
pkgname=cabal-install
|
|
version=1.22.8.0
|
|
revision=1
|
|
hostmakedepends="ghc 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=58cf197ca0751eac1e242202edc4b4a1dfe89e3b191a0eb57cb62b95d27b3b21
|
|
nopie=yes # network-2.6.0.2 build fails with a relocation
|
|
|
|
do_build() {
|
|
PREFIX=$PWD/build sh bootstrap.sh --user
|
|
}
|
|
|
|
do_install() {
|
|
vbin build/bin/cabal
|
|
vlicense LICENSE
|
|
}
|