Files
for-gentoo/dev-haskell/haxml/haxml-1.19.7.ebuild
T

32 lines
732 B
Bash

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
CABAL_FEATURES="bin lib profile haddock hscolour"
inherit haskell-cabal
MY_PN="HaXml"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Utilities for manipulating XML documents"
HOMEPAGE="http://www.cs.york.ac.uk/fp/HaXml/"
SRC_URI="http://hackage.haskell.org/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="$(get_version_component_range 1-2 ${PV})"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=dev-lang/ghc-6.6.1
>=dev-haskell/cabal-1.2
>=dev-haskell/polyparse-1.2"
S="${WORKDIR}/${MY_P}"
src_unpack() {
unpack ${A}
sed -e 's/polyparse==1.2/polyparse>=1.2/' \
-i "${S}/${MY_PN}.cabal"
}