You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
900 B
39 lines
900 B
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
# ebuild generated by hackport 0.4.6.9999
|
|
|
|
CABAL_FEATURES="bin"
|
|
inherit haskell-cabal
|
|
|
|
DESCRIPTION="Installed package query tool for Gentoo Linux"
|
|
HOMEPAGE="https://hackage.haskell.org/package/fquery"
|
|
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
|
|
|
|
LICENSE="ZLIB"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
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() {
|
|
default
|
|
|
|
# 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
|
|
}
|