alut-2.4.0.3.ebuild 1.02 KB
Newer Older
1
# Copyright 1999-2021 Gentoo Authors
2
3
# Distributed under the terms of the GNU General Public License v2

4
EAPI=7
5

6
# ebuild generated by hackport 0.6.9999
7
#hackport: flags: -usenativewindowslibraries,buildexamples:examples
8

9
CABAL_FEATURES="lib profile haddock hoogle hscolour"
10
11
12
13
14
15
16
inherit haskell-cabal

MY_PN="ALUT"
MY_P="${MY_PN}-${PV}"

DESCRIPTION="A binding for the OpenAL Utility Toolkit"
HOMEPAGE="https://github.com/haskell-openal/ALUT"
17
SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
18
19
20

LICENSE="BSD"
SLOT="0/${PV}"
21
KEYWORDS="~amd64 ~x86"
22
IUSE="examples"
23
24

RDEPEND=">=dev-haskell/openal-1.7:=[profile?] <dev-haskell/openal-1.8:=[profile?]
25
26
	>=dev-haskell/statevar-1.1:=[profile?] <dev-haskell/statevar-1.3:=[profile?]
	>=dev-lang/ghc-7.8.2:=
27
28
29
	media-libs/freealut
"
DEPEND="${RDEPEND}
30
	>=dev-haskell/cabal-1.18.1.3
31
32
33
34
"

S="${WORKDIR}/${MY_P}"

35
36
PATCHES=("${FILESDIR}"/${PN}-2.4.0.3-ghc-8.patch)

37
38
src_configure() {
	haskell-cabal_src_configure \
39
		$(cabal_flag examples buildexamples) \
40
41
		--flag=-usenativewindowslibraries
}