| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/network/network-2.2.1.7.ebuild,v 1.7 2011/02/25 12:56:30 xarthisius Exp $
|
| 4 |
|
| 5 |
CABAL_FEATURES="lib profile haddock"
|
| 6 |
inherit base haskell-cabal autotools
|
| 7 |
|
| 8 |
DESCRIPTION="Networking-related facilities"
|
| 9 |
HOMEPAGE="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/network"
|
| 10 |
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
| 11 |
|
| 12 |
LICENSE="BSD"
|
| 13 |
SLOT="0"
|
| 14 |
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
| 15 |
IUSE=""
|
| 16 |
|
| 17 |
RDEPEND=">=dev-lang/ghc-6.6.1
|
| 18 |
dev-haskell/parsec"
|
| 19 |
|
| 20 |
DEPEND="${RDEPEND}
|
| 21 |
>=dev-haskell/cabal-1.2"
|
| 22 |
|
| 23 |
PATCHES=("${FILESDIR}/network-2.2.0.0-eat-configure-opts.patch")
|
| 24 |
|
| 25 |
src_unpack() {
|
| 26 |
base_src_unpack
|
| 27 |
cd "${S}"
|
| 28 |
eautoreconf
|
| 29 |
}
|