fquery-9999.ebuild 975 Bytes
Newer Older
1
# Copyright 1999-2018 Gentoo Foundation
2
3
4
5
6
7
8
# Distributed under the terms of the GNU General Public License v2

EAPI=5

# ebuild generated by hackport 0.4.6

CABAL_FEATURES="bin"
9
EGIT_REPO_URI="https://github.com/gentoo-haskell/${PN}.git"
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
inherit git-r3 haskell-cabal

DESCRIPTION="Installed package query tool for Gentoo Linux"
HOMEPAGE="http://hackage.haskell.org/package/fquery"

LICENSE="ZLIB"
SLOT="0"
KEYWORDS=""
IUSE=""

RDEPEND="dev-haskell/hashtables:=
	dev-haskell/parsec:=
	dev-haskell/regex-compat:=
	>=dev-lang/ghc-7.4.1:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-1.6
"

src_prepare() {
	sed -e 's/^Version:.*/&.9999/' -i ${PN}.cabal || die # just to distinct from release install
31
32
33
34
35
36
37

	# Workaround for Cabal 2.2.0.1 running configure with
	# ${S}/dist/build set as the current directory.  This changes
	# the script to prepend ${S}/ to the the paths.  The script
	# then uses the ${S} environment variable.
	sed -e 's@\(Adelie/\)@${S}/\1@g' \
		-i configure || die
38
}