# Template file for 'cabal-install' pkgname=cabal-install version=1.24.0.2 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="3-clause-BSD" homepage="http://hackage.haskell.org/package/cabal-install" distfiles="http://hackage.haskell.org/packages/archive/${pkgname}/${version}/${pkgname}-${version}.tar.gz" checksum=2ac8819238a0e57fff9c3c857e97b8705b1b5fef2e46cd2829e85d96e2a00fe0 nopie=yes # network-2.6.0.2 build fails with a relocation do_build() { PREFIX=$PWD/build sh bootstrap.sh --user --no-doc } do_install() { vbin build/bin/cabal vlicense LICENSE }