# Template file for 'cabal-install' pkgname=cabal-install version=1.22.9.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 " license="custom" homepage="http://hackage.haskell.org/package/cabal-install" distfiles="http://hackage.haskell.org/packages/archive/$pkgname/$version/$pkgname-$version.tar.gz" checksum=874035e5730263653c7aa459f270efbffc06da92ea0c828e09ebc04400e94940 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 }